Changeset e6969d in git for Singular/mpsr_GetPoly.cc
- Timestamp:
- Mar 26, 1997, 3:58:06 PM (27 years ago)
- Branches:
- (u'spielwiese', '6e5adcba05493683b94648c659a729c189812c77')
- Children:
- bc428ca07201e22a987b0ca4d72389c736477dc8
- Parents:
- 20d92caa4109d20c8c2efc03cef380a023380d3b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/mpsr_GetPoly.cc
r20d92ca re6969d 1 /****************************************2 * Computer Algebra System SINGULAR *3 ****************************************/4 5 1 /*************************************************************** 6 2 * … … 27 23 #include "grammar.h" 28 24 #include "febase.h" 29 25 #include "modulop.h" 30 26 31 27 #include "mpsr_Tok.h" … … 140 136 141 137 // still need to set the global ring 142 mpsr_SetCurrRing(r, FALSE);138 mpsr_SetCurrRing(r, TRUE); 143 139 } 144 140 … … 154 150 static mpsr_Status_t GetModuloNumber(MP_Link_pt link, number *a) 155 151 { 156 mp_return(IMP_GetUint32(link, (MP_Uint32_t *) a)); 152 MP_Uint32_t x; 153 mp_failr(IMP_GetUint32(link, &x)); 154 *a=npInit((int)x); 155 return mpsr_Success; 157 156 } 158 157
Note: See TracChangeset
for help on using the changeset viewer.