Skip to content

Commit

Permalink
Fix mutability bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Aug 28, 2014
1 parent 3829871 commit bc21197
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 @@ -76,7 +76,7 @@ Obj Func_SI_bigintmat(Obj self, Obj m)
BIMATELEM(*bim,r,c) = _SI_BIGINT_FROM_GAP(t);
}
}
return NEW_SINGOBJ(SINGTYPE_BIGINTMAT_IMM,bim);
return NEW_SINGOBJ(SINGTYPE_BIGINTMAT,bim);
}

/// Used for bigintmat ViewString method.
Expand Down Expand Up @@ -143,7 +143,7 @@ Obj Func_SI_intmat(Obj self, Obj m)
IMATELEM(*iv,r,c) = (int) (INT_INTOBJ(t));
}
}
return NEW_SINGOBJ(SINGTYPE_INTMAT_IMM,iv);
return NEW_SINGOBJ(SINGTYPE_INTMAT,iv);
}

/// Used for intmat ViewString method.
Expand Down

0 comments on commit bc21197

Please sign in to comment.