- Timestamp:
- Jan 22, 2016, 5:40:50 PM (8 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 01f6271e1cfb6a7db18909a25eefab7cd08cc713
- Parents:
- b64a5f131f1c498bfaf3b8d81c7a062ed7ef5c7f
- Location:
- kernel/maps
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/maps/find_perm.cc
rb64a5f1 ra660bb2 85 85 } 86 86 } 87 ideal ii=(ideal)m; 88 ii->rank=((ideal)to_map)->rank; 87 89 omFreeSize(perm,(preimage_r->N+1)*sizeof(int)); 88 90 return m; -
kernel/maps/gen_maps.cc
rb64a5f1 ra660bb2 111 111 // ---------------------------------------------------------- 112 112 // long polys in the image ?: possiblity of many common subexpressions 113 if (nMap==ndCopyMap) /* and !rIsPluralRing(image_r) */ 113 if ((nMap==ndCopyMap) /* and !rIsPluralRing(image_r) */ 114 && (map_id->nrows==1) /* i.e. only for ideal/map */ 115 && (map_id->rank==1)) 114 116 { 115 117 int sz=IDELEMS(map_id); … … 137 139 if (TEST_OPT_PROT) PrintS("map with cache\n"); 138 140 int C=((matrix)map_id)->cols(); 139 int R= 1; //((matrix)map_id)->rows();141 int R=((matrix)map_id)->rows(); 140 142 matrix m=mpNew(R,C); 141 143 int N = preimage_r->N; … … 151 153 } 152 154 idDelete((ideal *)&cache); 155 ideal ii=(ideal)m; 156 ii->rank=((ideal)map_id)->rank; 153 157 return (ideal)m; 154 158 }
Note: See TracChangeset
for help on using the changeset viewer.