On Tue, Feb 04, 2025 at 12:33:57AM +1100, Hill Strong wrote: > Good morning to all. > > I am having a look at the spec_to_UPS routine around lines 723 to 770. > > The code is > > if (ei_ci_chi or nm = 'dilog) and ord = 0 and > (ord := order(ups, 1::Expon)) > 0 then return > > [ some other stuff] > > else if ord < 0 then return > > [some more stuff] > > else if ord = 0 and nm = 'dilog then > [some final stuff which could get executed] > > > On the basis of the above, [some other stuff] and [some more stuff] can > never be executed. Is this correct?
No. You ignored indentation and meaning of 'return'. Indented parts are piles and compute value that will be returned. -- Waldek Hebisch -- 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/Z6DLDs8IkjFknENh%40fricas.org.