Auto-Calculation/Recalculate Page

Auto-Calculation/Recalculate Page - Сообщения

#1 Опубликовано: 17.01.2024 08:04:13
giddyApples8

giddyApples8

0 сообщений из 15 понравились пользователям.

Группа: User

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 МиБ) скачан 58 раз(а).
#2 Опубликовано: 17.01.2024 18:14:46
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

If you attach the document, it might be possible to doctor.
Jean
#3 Опубликовано: 17.01.2024 21:16:44
Davide Carpi

Davide Carpi

1417 сообщений из 2873 понравились пользователям.

Группа: Moderator

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 please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#4 Опубликовано: 17.01.2024 23:32:45
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Your file is not an *.sm document.
#5 Опубликовано: 18.01.2024 17:15:38
Davide Carpi

Davide Carpi

1417 сообщений из 2873 понравились пользователям.

Группа: Moderator

Wrote

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.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Опубликовано: 19.01.2024 05:12:17
giddyApples8

giddyApples8

0 сообщений из 15 понравились пользователям.

Группа: User

Wrote

If you attach the document, it might be possible to doctor.
Jean


recalculate.sm (11 КиБ) скачан 59 раз(а).

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.
#7 Опубликовано: 19.01.2024 22:24:56
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I've attached a sample.


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

recalculate.sm (11 КиБ) скачан 55 раз(а).
#8 Опубликовано: 19.01.2024 23:00:32
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: Moderator

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.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений