bug with function with programming

bug with function with programming - calling function with a for loop loops forever - 消息

#1 已发布: 2019/10/14 22:03:17
jcuadra

jcuadra

0个赞,共12个帖子。

组: User

Firstly thank you for such a wonderful free alternative to MathCad 15.


Please see attached .sm file.

The comments describe the bug ...

Thanks in advance

test bug.sm (16.34 KiB)已下载 1532 次。
#2 已发布: 2019/10/15 04:54:29
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: Moderator

Wrote

Firstly thank you for such a wonderful free alternative to MathCad 15.


Please see attached .sm file.

The comments describe the bug ...

Thanks in advance

test bug.sm (16.34 KiB)已下载 1532 次。



Hello,

Did not reproduce it...

maybebyg.PNG

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
2位用户喜欢此帖子
Arie 2019/10/15 10:16:00, NDTM Amarasekera 2019/10/15 11:01:00
#3 已发布: 2019/10/15 10:16:05
Arie

Arie

94个赞,共285个帖子。

组: User

Wrote



Did not reproduce it...



I could not reproduce either..
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
1位用户喜欢此帖子
NDTM Amarasekera 2019/10/15 11:01:00
#4 已发布: 2019/10/15 10:59:18
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

Wrote

Wrote



Did not reproduce it...



I could not reproduce either..



Yes, did not reproduce.

Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#5 已发布: 2019/10/15 13:02:21
jcuadra

jcuadra

0个赞,共12个帖子。

组: User

Hmm,

I just re-tested on my home PC, freshly booted, same problem.

appVersion(3) = "0.99.7030" not .7219 <- Could this be the difference?

Capture.PNG
#6 已发布: 2019/10/15 13:17:34
Arie

Arie

94个赞,共285个帖子。

组: User

Wrote

Hmm,

I just re-tested on my home PC, freshly booted, same problem.

appVersion(3) = "0.99.7030" not .7219 <- Could this be the difference?

Capture.PNG



I can confirm this hangs on 7030. I was running 7219 before and did not have an issue. My guess is this should be fixed in next stable release and already seems to be fixed in Beta releases. The question is whether or not the "fix" is intentional or not.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#7 已发布: 2019/10/15 13:22:49
jcuadra

jcuadra

0个赞,共12个帖子。

组: User

OK thanks.
I will install 7219.
Hopefully my Maxima plugin continues to work.
#8 已发布: 2019/10/15 17:43:18
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

I will install 7219.


IMHO, not the best option yet.
Who can guess what the angle for loop should be doing ?
There are no maths associated with !

Test What.PNG
#9 已发布: 2019/10/15 18:05:01
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

... ? ...

test bug Red.sm (20.37 KiB)已下载 1456 次。
#10 已发布: 2019/10/15 20:26:19
jcuadra

jcuadra

0个赞,共12个帖子。

组: User

Wrote

Wrote

I will install 7219.


IMHO, not the best option yet.
Who can guess what the angle for loop should be doing ?
There are no maths associated with !

Test What.PNG



angle was originally used as such, but I modified it as a troubleshooting step, with no change to the bug's behavior

loss := loss + I2ttot(sin(angle*deg)*Ipk)
#11 已发布: 2019/10/15 20:42:45
jcuadra

jcuadra

0个赞,共12个帖子。

组: User

Wrote

OK thanks.
I will install 7219.
Hopefully my Maxima plugin continues to work.



It works properly on .7219.
But Maxima doesn't work.
#12 已发布: 2019/10/16 14:09:24
Arie

Arie

94个赞,共285个帖子。

组: User

Wrote


But Maxima doesn't work.



What error do you get? Maxima works fine on my end. May need to update the plugin.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#13 已发布: 2019/10/16 16:26:24
jcuadra

jcuadra

0个赞,共12个帖子。

组: User

^ Doesn't installing Maxima require running Update16.sm which will then upgrade it to .7030?

EDIT: I was able to get Maxima running with .7219.
#14 已发布: 2019/10/16 18:34:02
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

I just re-tested on my home PC, freshly booted, same problem.
appVersion(3) = "0.99.7030" not .7219


No matter SS version, by far not a Mathcad clone.
Show some Mathcad snippets ... would help doctor the patient.
What from Maxima ? Plot, Solve ...

#15 已发布: 2019/10/17 09:30:53
Arie

Arie

94个赞,共285个帖子。

组: User

Wrote

^ Doesn't installing Maxima require running Update16.sm which will then upgrade it to .7030?



Not sure? Maybe Martin can answer. I already had maxima setup on a previous version. I simply updated to 7219 and Maxima came along for the ride.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#16 已发布: 2019/10/17 10:14:05
jcuadra

jcuadra

0个赞,共12个帖子。

组: User

Wrote

Wrote

^ Doesn't installing Maxima require running Update16.sm which will then upgrade it to .7030?



Not sure? Maybe Martin can answer. I already had maxima setup on a previous version. I simply updated to 7219 and Maxima came along for the ride.



I was able to install Maxima with .7219, thank you.
  • 有新帖
  • 无新帖