someone wrote:
> 
> > With the patch:
> > 
> > (1) -> m := matrix([[1, 2, 3], [4, 5, 6]])
> > 
> >         +1  2  3+
> >    (1)  |       |
> >         +4  5  6+
> >                                                         Type:
> > Matrix(Integer) (2) -> subMatrix(m, 2, 1, 1, 2)
> > 
> >    (2)
> >                                                         Type:
> > Matrix(Integer) (3) -> subMatrix(m, 3, 1, 1, 2)
> >  
> >    >> Error detected within library code:
> >    subMatrix: bad row indices
> > 
> > (3) -> m(2..1, 1..2)
> > 
> >    (3)
> >                                                         Type:
> > Matrix(Integer) (4) -> m(3..1, 1..2)
> > 
> >    (4)
> >                                                         Type:
> > Matrix(Integer)
> > 
> > In current trunk line 4 signals error.  For consistency it
> > would be good to get the same result from (2) and (4).
> 
> If you like, we can of course change that.

I think that for now we should singnal error in upper bound
is smaller than lower + 1.


-- 
                              Waldek Hebisch
[email protected] 

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

Reply via email to