Hello Ric

Thanks for concerning yourself with this, it might be helpful indeed.

When slightly extending it's even worse ... strange ;)
I'd expect that u()$SI worked?

---

a) PhysicalUnit() : Category == SetCategory  with  -- inherit from SETCAT
b) baseUnits() == [x::% for x in enumerate$OrderedVariableList(u)]

(2) -> b:=baseUnits()$PUSYS(['a,'b,'c])

   (2)  [a,b,c]
                                      Type: List(PhysicalUnitSystem([a,b,c]))

(3) -> )sh SI
 SIunits  is a package constructor
 Abbreviation for SIunits is SI
 This constructor is exposed in this frame.
------------------------------- Operations --------------------------------

   >> Error detected within library code:
   Improper script count in symbol

(3) -> u()$SI


   >> Error detected within library code:
   index out of range


On 17.07.2018 16:47, Riccardo GUIDA wrote:
> Hi Kurt
> 
> As FriCAS exercise of the day, I tried to understand the source of your bug 
> but
> the best I can do is a minimal example (vaguely related to the original one) 
> and
> similar errors.
> 
> I do not know what mean "non extending category" and "has no ..." compilation
> messages but there were similar ones in the original version.

I guess this is of no importance w.r.t. to the error (but I may be mistaken)

> 
> Hope not increasing the confusion ....

Not at all.
Kurt

> 
> ric
> 

-- 
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 https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to