bug with function with programming

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

#1 Objavljeno: 14. 10. 2019. 22:03:17
jcuadra

jcuadra

0 svidjanja u 12 postova.

Grupa: 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) preuzeto 1551 put(ova).
#2 Objavljeno: 15. 10. 2019. 04:54:29
Radovan Omorjan

Radovan Omorjan

325 svidjanja i 1 nesvidjanja u 2.052 postova.

Grupa: 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) preuzeto 1551 put(ova).



Hello,

Did not reproduce it...

maybebyg.PNG

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
2 korisnika je svidelo ovu objavu
Arie 15. 10. 2019. 10:16:00, NDTM Amarasekera 15. 10. 2019. 11:01:00
#3 Objavljeno: 15. 10. 2019. 10:16:05
Arie

Arie

94 svidjanja u 285 postova.

Grupa: 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 korisnika je svidelo ovu objavu
NDTM Amarasekera 15. 10. 2019. 11:01:00
#4 Objavljeno: 15. 10. 2019. 10:59:18
NDTM Amarasekera

NDTM Amarasekera

130 svidjanja u 352 postova.

Grupa: 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 Objavljeno: 15. 10. 2019. 13:02:21
jcuadra

jcuadra

0 svidjanja u 12 postova.

Grupa: 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 Objavljeno: 15. 10. 2019. 13:17:34
Arie

Arie

94 svidjanja u 285 postova.

Grupa: 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 Objavljeno: 15. 10. 2019. 13:22:49
jcuadra

jcuadra

0 svidjanja u 12 postova.

Grupa: User

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

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 15. 10. 2019. 18:05:01
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

... ? ...

test bug Red.sm (20,37 KiB) preuzeto 1475 put(ova).
#10 Objavljeno: 15. 10. 2019. 20:26:19
jcuadra

jcuadra

0 svidjanja u 12 postova.

Grupa: 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 Objavljeno: 15. 10. 2019. 20:42:45
jcuadra

jcuadra

0 svidjanja u 12 postova.

Grupa: 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 Objavljeno: 16. 10. 2019. 14:09:24
Arie

Arie

94 svidjanja u 285 postova.

Grupa: 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 Objavljeno: 16. 10. 2019. 16:26:24
jcuadra

jcuadra

0 svidjanja u 12 postova.

Grupa: 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 Objavljeno: 16. 10. 2019. 18:34:02
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 17. 10. 2019. 09:30:53
Arie

Arie

94 svidjanja u 285 postova.

Grupa: 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 Objavljeno: 17. 10. 2019. 10:14:05
jcuadra

jcuadra

0 svidjanja u 12 postova.

Grupa: 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.
  • Novi postovi
  • Nema novih postova