variable damaged if treated in functions

classic Classic list List threaded Threaded
3 messages Options
Erhy Erhy
Reply | Threaded
Open this post in threaded view
|

variable damaged if treated in functions

Hello,
the size of a variable changed strangely.
If I put the sub-function code in the function body the code works.
ruin_demo.sce
 
Erhy Erhy
Reply | Threaded
Open this post in threaded view
|

Re: variable damaged if treated in functions

here the example with code in body (not in a function)
ruin_demoSane.sce

and again the code in function where the variable size changes.
ruin_demo.sce
Pierre Payen Pierre Payen
Reply | Threaded
Open this post in threaded view
|

Re: variable damaged if treated in functions

This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hi, could you shrink your code such that there's only the variable you talk about ( a MWE so) ?