Changeset 121fd9 in git for libpolys/coeffs/gnumpc.cc
- Timestamp:
- May 11, 2011, 1:29:30 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- ca1eb1a729253498d9506a95c9dc7fbaa646acc6
- Parents:
- 50612e2a61efff5f199e310834c46d4452b2cf8d
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-05-11 13:29:30+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:03+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/gnumpc.cc
r50612e2 r121fd9 42 42 { 43 43 assume( getCoeffType(r) == ID ); 44 assume(i==1); 44 45 45 46 gmp_complex* n= new gmp_complex( (long)0, (long)1 ); … … 371 372 omFree( (void *)out ); 372 373 } 373 }374 375 376 377 /// test, whether r is an instance of nInitCoeffs(n, parameter)378 static BOOLEAN ngcCoeffsEqual(const coeffs r, n_coeffType n, void*)379 {380 assume( getCoeffType(r) == ID );381 382 return (n == ID);383 374 } 384 375 … … 419 410 #endif 420 411 421 n->nCoeffIsEqual = n gcCoeffsEqual;412 n->nCoeffIsEqual = ndCoeffIsEqual; 422 413 423 414 … … 489 480 /// TODO: Any variables? 490 481 if( p == NULL ) 491 n->complex_parameter = "i"; //??482 n->complex_parameter = omStrDup((char*)"i"); 492 483 else 493 484 n->complex_parameter = omStrDup( (char*) p );
Note: See TracChangeset
for help on using the changeset viewer.