Changeset bf36c4 in git for Singular/maps_ip.cc
- Timestamp:
- May 27, 2015, 8:09:51 PM (9 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
- Children:
- 49b7480ebc6b89c61ea6555f8f339873abbac069
- Parents:
- 794d7ba210aeabf2fc6caef7b75934cab4be8acf
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2015-05-27 20:09:51+02:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2015-05-27 21:24:40+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/maps_ip.cc
r794d7b rbf36c4 44 44 #endif 45 45 46 #include <algorithm> 46 47 47 48 /*2 … … 391 392 ideal src_id=idInit(1,1); 392 393 src_id->m[0]=p; 393 ideal res_id=fast_map(src_id,currRing,(ideal)theMap,currRing); 394 395 char *tmp = (char*)1; 396 std::swap(tmp, theMap->preimage); // map gets 1 as its rank (as an ideal) 397 ideal res_id=fast_map(src_id,currRing,(ideal)theMap,currRing); // FIXME: this dirty hack from original Singular! 398 std::swap(tmp, theMap->preimage); // map gets its preimage back 399 assume( tmp == (char*)1 ); 400 394 401 res=res_id->m[0]; 395 402 res_id->m[0]=NULL; idDelete(&res_id);
Note: See TracChangeset
for help on using the changeset viewer.