Kurt Pagani wrote:
> 
> 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
> 

The error happens during printing of type.  The following works:

(1) -> u()$SI; 1

   (1)  1
                                                        Type: PositiveInteger

Normal way to debug such problems is to use Lisp debugger, see
doc/debug.txt in the trunk.

-- 
                              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 [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