SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
Edit fails to trigger automatic re-calculation
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,990 Was thanked: 1128 time(s) in 724 post(s)
|
consider the following example: j:2for(j,range(1,4),a:j)j=4Now edit the loop expression and change it to any expression without assignment operator with or without j in it for(j,range(1,4),a)When leaving the math region, nothing happens. j=4As soon as you trigger re-calculation manually, j changes to 2, indicating that the loop iteration is not performed in the global namespace. j=2Still there is iteration as you can see using trace(j) as loop body. for(j,range(1,4),trace(j))I think, that changes in expressions should trigger re-calculation if that option is set in the options. Also, I really discourage the use of implicit variable scoping magics. I guess that it is not by intent to overwrite the global imaginary unit i depending on what precisely you do inside iterations with i as counter. If the mentioned dependency is a feature and not a bug I would like to learn how this contributes to comprehensable documents. Best regards, Martin Kraska Edited by user 23 March 2014 18:35:46(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member Groups: Registered
Joined: 14/12/2012(UTC) Posts: 23 Location: Neverland
Was thanked: 15 time(s) in 9 post(s)
|
Without reading this post, I just posted the same thing in the clear discussion.
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
Edit fails to trigger automatic re-calculation
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.