Changeset f13c85 in git for Singular/ipshell.cc
- Timestamp:
- May 28, 2015, 2:12:00 PM (9 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- 75fdcae64006ce0ba10e3d881e761f661f4fc9ea
- Parents:
- 9750e3ed7db2557ee2bc1ca59771e04ecff78d78
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
r9750e3 rf13c85 68 68 #include <math.h> 69 69 #include <ctype.h> 70 #include <algorithm>71 70 72 71 // define this if you want to use the fast_map routine for mapping ideals … … 782 781 { 783 782 v->rtyp=IDEAL_CMD; 784 785 char *tmp = (char*)1; 786 std::swap(tmp, theMap->preimage); // map gets 1 as its rank (as an ideal) 787 v->data=fast_map(IDIDEAL(w), src_ring, (ideal)theMap, currRing); // FIXME: this dirty hack from original Singular! 788 std::swap(tmp, theMap->preimage); // map gets its preimage back 789 assume( tmp == (char*)1 ); 790 783 char *tmp = theMap->preimage; 784 theMap->preimage=(char*)1L; 785 // map gets 1 as its rank (as an ideal) 786 v->data=fast_map(IDIDEAL(w), src_ring, (ideal)theMap, currRing); 787 theMap->preimage=tmp; // map gets its preimage back 791 788 } 792 789 else
Note: See TracChangeset
for help on using the changeset viewer.