bug with function with programming

bug with function with programming - calling function with a for loop loops forever - Messages

#1 Posted: 10/14/2019 10:03:17 PM
jcuadra

jcuadra

0 likes in 12 posts.

Group: 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 KiB) downloaded 54 time(s).
#2 Posted: 10/15/2019 4:54:29 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: 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 KiB) downloaded 54 time(s).



Hello,

Did not reproduce it...

maybebyg.PNG

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
2 users liked this post
Arie 10/15/2019 10:16:00 AM, NDTM Amarasekera 10/15/2019 11:01:00 AM
#3 Posted: 10/15/2019 10:16:05 AM
Arie

Arie

93 likes in 285 posts.

Group: 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 users liked this post
NDTM Amarasekera 10/15/2019 11:01:00 AM
#4 Posted: 10/15/2019 10:59:18 AM
NDTM Amarasekera

NDTM Amarasekera

130 likes in 352 posts.

Group: 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 Posted: 10/15/2019 1:02:21 PM
jcuadra

jcuadra

0 likes in 12 posts.

Group: 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 Posted: 10/15/2019 1:17:34 PM
Arie

Arie

93 likes in 285 posts.

Group: 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 Posted: 10/15/2019 1:22:49 PM
jcuadra

jcuadra

0 likes in 12 posts.

Group: User

OK thanks.
I will install 7219.
Hopefully my Maxima plugin continues to work.
#8 Posted: 10/15/2019 5:43:18 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 10/15/2019 6:05:01 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... ? ...

test bug Red.sm (20 KiB) downloaded 35 time(s).
#10 Posted: 10/15/2019 8:26:19 PM
jcuadra

jcuadra

0 likes in 12 posts.

Group: 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 Posted: 10/15/2019 8:42:45 PM
jcuadra

jcuadra

0 likes in 12 posts.

Group: 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 Posted: 10/16/2019 2:09:24 PM
Arie

Arie

93 likes in 285 posts.

Group: 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 Posted: 10/16/2019 4:26:24 PM
jcuadra

jcuadra

0 likes in 12 posts.

Group: 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 Posted: 10/16/2019 6:34:02 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 10/17/2019 9:30:53 AM
Arie

Arie

93 likes in 285 posts.

Group: 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 Posted: 10/17/2019 10:14:05 AM
jcuadra

jcuadra

0 likes in 12 posts.

Group: 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.
  • New Posts New Posts
  • No New Posts No New Posts