Changeset 21c133 in git
- Timestamp:
- Jun 28, 2020, 10:26:42 AM (3 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- dc69b80290980f6110fcb3b9978c07da5f87863d
- Parents:
- a7235589fb2e045397d9d6de8846aeccb51f4074
- git-author:
- Gergo Borus <gergo@borus.hu>2020-06-28 10:26:42+02:00
- git-committer:
- Gergo Borus <gergo@borus.hu>2020-06-28 11:29:45+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/ffsolve.lib
ra723558 r21c133 314 314 ideal partial_system, curr_sol, curr_sys, factors; 315 315 poly univar_poly; 316 intvec ones = 1:nvars(basering); 316 317 E = E+defaultIdeal(); 317 318 // check assumptions … … 345 346 for(j=1; j<=ncols(factors); j++) 346 347 { 347 if(deg(factors[j] )==1)348 if(deg(factors[j], ones)==1) 348 349 { 349 350 curr_sol = std(solutions[i]+ideal(factors[j])); … … 851 852 +get_minpoly_str(size(original_ring),parstr(original_ring,1))+";" ; 852 853 } 853 string old_vars = varstr(original_ring); 854 string new_vars = "@y(1.."+string( number_of_monomials )+")"; 855 856 def ring_for_var_change = changevar( old_vars+","+new_vars, original_ring); 854 855 def ring_for_var_change = addNvarsTo(original_ring, number_of_monomials, "@y", 2); 856 857 857 setring ring_for_var_change; 858 858 if( prime_field == 0) … … 877 877 } 878 878 879 string new_vars = "@y(1.."+string( number_of_monomials )+")"; 879 880 def ring_for_elimination = changevar( new_vars, ring_for_var_change); 880 881 setring ring_for_elimination;
Note: See TracChangeset
for help on using the changeset viewer.