Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Giddyup  
#1 Posted : 17 January 2024 14:04:13(UTC)
Giddyup


Rank: Member

Groups: Registered
Joined: 15/03/2023(UTC)
Posts: 14

I'm using the latest version of SM (1.1.8763).
I have auto-calculation enabled.
When I change a variable name, the functions referring to the changed/deleted variable do not show an error due to a missing variable. The functions keep the previous value until I move the function up in the page, to where it is forced to recalculate a different variable.
Selecting "recalculate page" does not help.
See video: recalculate

3DMsFHe.wmv (3,336kb) downloaded 6 time(s).

Edited by moderator 18 January 2024 03:20:47(UTC)  | Reason: video attached to the forum

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 18 January 2024 00:14:46(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
If you attach the document, it might be possible to doctor.
Jean
Offline Davide Carpi  
#3 Posted : 18 January 2024 03:16:44(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
I cannot reproduce it in a simplified example, I guess there is something specific that triggers the behaviour shown in the video.
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Jean Giraud  
#4 Posted : 18 January 2024 05:32:45(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Your file is not an *.sm document.
Offline Davide Carpi  
#5 Posted : 18 January 2024 23:15:38(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Your file is not an *.sm document.


The video attachment was added by me, since the original is uploaded to an external service and might be deleted.

Edited by user 18 January 2024 23:41:09(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Giddyup  
#6 Posted : 19 January 2024 11:12:17(UTC)
Giddyup


Rank: Member

Groups: Registered
Joined: 15/03/2023(UTC)
Posts: 14

Originally Posted by: Jean Giraud Go to Quoted Post
If you attach the document, it might be possible to doctor.
Jean

recalculate.sm (12kb) downloaded 5 time(s).

I've attached a sample.
Instead of deleting the variable, I just clear it.
The last function (highlighted) keeps the old value despite the variable being cleared.
If I drag the clear() to the bottom of the page, the value of the second to last function (above the highlighted one) will not auto-calculate to remove the error. If I click "recalculate", it will remove the error.
If I drag the clear() back up, the second to last function immediately updates to show an error but the last function does not update to show an error.
If I drag the last function up, it will update to show an error.
Offline Jean Giraud  
#7 Posted : 20 January 2024 04:24:56(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Giddyup Go to Quoted Post
I've attached a sample.

Let me know if it works ... I had a crash on the other PC.
Jean

recalculate.sm (12kb) downloaded 1 time(s).
Offline overlord  
#8 Posted : 20 January 2024 05:00:32(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
Aah, I get it now. This should be a bug.
While Clear(F.excitation) is enabled F.T can be calculated, obviously.
But when Clear(F.excitation) is disabled once F.T is calculated, F.T value remains.
Even there is no F.excitation because of Clear().

Changing all optimizations to symbolic doesn't matter too.
I will say it again, this should be a bug.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.