bug with function with programming

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

#1 Publicado: 14/10/2019 22:03:17
jcuadra

jcuadra

0 me gusta en 12 mensajes.

Grupo: 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) descargado 1520 vez(es).
#2 Publicado: 15/10/2019 4:54:29
Radovan Omorjan

Radovan Omorjan

325 me gusta y 1 no me gusta en 2.052 mensajes.

Grupo: 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) descargado 1520 vez(es).



Hello,

Did not reproduce it...

maybebyg.PNG

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
A 2 usuarios les gustó este mensaje
Arie 15/10/2019 10:16:00, NDTM Amarasekera 15/10/2019 11:01:00
#3 Publicado: 15/10/2019 10:16:05
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: 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
A 1 usuarios les gustó este mensaje
NDTM Amarasekera 15/10/2019 11:01:00
#4 Publicado: 15/10/2019 10:59:18
NDTM Amarasekera

NDTM Amarasekera

130 me gusta en 352 mensajes.

Grupo: 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 Publicado: 15/10/2019 13:02:21
jcuadra

jcuadra

0 me gusta en 12 mensajes.

Grupo: 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 Publicado: 15/10/2019 13:17:34
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: 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 Publicado: 15/10/2019 13:22:49
jcuadra

jcuadra

0 me gusta en 12 mensajes.

Grupo: User

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

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 15/10/2019 18:05:01
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

... ? ...

test bug Red.sm (20,37 KiB) descargado 1442 vez(es).
#10 Publicado: 15/10/2019 20:26:19
jcuadra

jcuadra

0 me gusta en 12 mensajes.

Grupo: 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 Publicado: 15/10/2019 20:42:45
jcuadra

jcuadra

0 me gusta en 12 mensajes.

Grupo: 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 Publicado: 16/10/2019 14:09:24
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: 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 Publicado: 16/10/2019 16:26:24
jcuadra

jcuadra

0 me gusta en 12 mensajes.

Grupo: 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 Publicado: 16/10/2019 18:34:02
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 17/10/2019 9:30:53
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: 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 Publicado: 17/10/2019 10:14:05
jcuadra

jcuadra

0 me gusta en 12 mensajes.

Grupo: 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.
  • Nuevos mensajes
  • Sin mensajes nuevos