Skip to content

Commit

Permalink
Make _SI_Matbigintmat work for mutable bigintmat
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Aug 28, 2014
1 parent bc21197 commit f12b4df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/matrix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ Obj Func_SI_bigintmat(Obj self, Obj m)
// TODO: get rid of _SI_Matbigintmat and use SI_ToGAP instead ?
Obj Func_SI_Matbigintmat(Obj self, Obj im)
{
// TODO: This function is untested! add test cases!!!
if (!ISSINGOBJ(SINGTYPE_BIGINTMAT_IMM,im)) {
if (!(ISSINGOBJ(SINGTYPE_BIGINTMAT_IMM,im) ||
ISSINGOBJ(SINGTYPE_BIGINTMAT,im))) {
ErrorQuit("im must be a singular bigintmat", 0L, 0L);
return Fail;
}
Expand Down

0 comments on commit f12b4df

Please sign in to comment.