Yes, I agree, it doesn't look correct.

Let me look into it as my name is on the file as author.

Its an interesting case study for trying to understand my own code after
almost 10 years. I think I should have made the comments more verbose
although I suspect Waldek would disagree?

Martin

On 09/02/2025 09:33, Hill Strong wrote:
In the following function, the line row = row + 1 does not appear to be
correct

       isArrow?(arr : List(List(Boolean)), a : NNI, b : NNI) : Boolean ==
           row : NNI := 1
           for x in arr repeat
               if row = a then
                   val : Boolean := qelt(x, b)
                   return val
               row = row + 1
           false

Looking at the code, it would appear that this line should be

row := row + 1




--
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 fricas-devel+unsubscr...@googlegroups.com <mailto:fricas-
devel+unsubscr...@googlegroups.com>.
To view this discussion visit https://groups.google.com/d/msgid/fricas-
devel/CAEnaMTHRnSJSY6cAQasQ-
pXdCT9U%2BFRAPEmAHVbdwTDrcuVqdA%40mail.gmail.com <https://
groups.google.com/d/msgid/fricas-devel/CAEnaMTHRnSJSY6cAQasQ-
pXdCT9U%2BFRAPEmAHVbdwTDrcuVqdA%40mail.gmail.com?
utm_medium=email&utm_source=footer>.

--
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/fricas-devel/8b35951b-d583-4d4b-8d7a-1f686d08b4ad%40martinb.com.

Reply via email to