Changeset 9b4a332 in git for kernel/intvec.cc
- Timestamp:
- Oct 23, 2009, 11:58:49 AM (14 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 698fe42860f6adbfb03425b76fe4bc95dd89e1a6
- Parents:
- a388ae5c0bb2238bcecc75e032fb91a5a79c3b00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/intvec.cc
ra388ae r9b4a332 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: intvec.cc,v 1. 5 2009-05-15 13:20:05 motsakExp $ */4 /* $Id: intvec.cc,v 1.6 2009-10-23 09:58:49 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: class intvec: lists/vectors of integers … … 57 57 col = c; 58 58 int l = r*c; 59 if ( (r>0) && (c>0))59 if (l>0) /*(r>0) && (c>0) */ 60 60 v = (int *)omAlloc(sizeof(int)*l); 61 61 else … … 72 72 #ifndef OM_NDEBUG 73 73 omCheckAddr((void *)this); 74 omCheckAddr((void *)v);74 if (v!=NULL) omCheckAddr((void *)v); 75 75 #endif 76 76 StringSetS("");
Note: See TracChangeset
for help on using the changeset viewer.