> 
> That's a very strange bug.
> 
> I would have expected that as in the loop case that is not inside a
> function, the size of the inner loop is computed once and is not
> reconsidered each time x0 changes. In other words also g(3) should not
> loop endlessly.
> 
> Sorry, that this just happens right before the release, but I just
> stumpled over it. :-(
> 
> Oh, I just see, the outer loop is not necessary to demonstate the bug.
> 
> I haven't checked whether this is also a problem in a .spad file.
> 
> Ralf
> 
> ==================================
> 
> g(x1:Integer):Integer ==
>     x0:Integer := x1
>     x3: Integer := x1-1
>     for k3 in 1 .. x3 repeat for k0 in 1 .. x0 repeat (print x0; x0:=x0+1)
>     x0
> g 3
> ==================================

Thanks for the report.  This was simple to fix bug and it
affected Spad too.

-- 
                              Waldek Hebisch
[email protected] 

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to