adipopescu / To-Do-List

My Singular Project
0 stars 0 forks source link

intersect segfault #50

Closed jakobkroeker closed 9 years ago

jakobkroeker commented 9 years ago
ring rng = (integer),(x(1)),(lp(1),C);
short = 0 ;
// int trial= 0;
system("random", 1472251352);
ideal I = 4*x(1)^3+35*x(1)^2+24*x(1),45*x(1),35;
ideal J = 18*x(1)^3+43*x(1)^2,-7*x(1)-10,-12*x(1)^2-20*x(1)+13;
ideal I_J =  intersect(I,J);
adipopescu commented 9 years ago

problem was length = 0 in posinL11Ring (in debug mode had no problem). Solved, added test