Bill Page wrote:
> 
> I just noticed that compiling the package code at
> http://axiom-wiki.newsynthesis.org/FunWithFunctions
> 
> --
> 
> )abbrev package MYEXP MyExp
> 
> MyExp(F: Algebra(Fraction(Integer))): with
>     myexp: F -> F
>     myexp: (F, NonNegativeInteger) -> F
>  == add
>     Map2 ==> ListFunctions2(NonNegativeInteger, F)
>     myexp(x, n) ==
>         a(i : NonNegativeInteger) : F == (1/(factorial i)) * x^i
>         reduce(_+@((F, F) -> F), map(a, [i for i in 0..n])$Map2)
> 
>     myexp(x: F): F == myexp(x, 32)
> 
> --
> 
> Gives the following error message:
> 
> >> System error:
>    The bounding indices 163 and 162 are bad for a sequence of length 162.
> See also:
>   The ANSI Standard, Glossary entry for "bounding index designator"
>   The ANSI Standard, writeup for Issue SUBSEQ-OUT-OF-BOUNDS:IS-AN-ERROR
> 
> --
> 
> but it seems to work ok anyway.
> 
> FriCAS was compiled from trunk source svn Rev: 1004
> 
>                Version: FriCAS 2010-12-08
>                Timestamp: Thursday March 10, 2011
> 
> using
> 
> # sbcl --version
> SBCL 1.0.31
> 

Using sbcl 1.0.23 on Fedora and 1.0.40.0.debian on Debian I can not
reproduce this.  Could you try ')set break break' before compilation
and then report what 'backtrace' says when you get error.

-- 
                              Waldek Hebisch
[email protected] 

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.

Reply via email to