Opened 7 years ago

Closed 7 years ago

#770 closed bug (fixed)

brnoeth.lib: f_xz undefined in r_ext

Reported by: jakobkroeker.academic@… Owned by: somebody
Priority: minor Milestone: 4-1-0 and higher
Component: dontKnow Version: 4-0-3
Keywords: Cc:


failing example

ring rng = 2,(x,y,z),dp;
short = 0;
poly p = x^7 + y^7 + z^7;


> Adj_div(p);
   ? f_xz undefined in r_ext
   ? error occurred in or before brnoeth.lib::inf_P line 376: `        poly f_origin=phi(f_xz);`
   ? expected poly-expression. type 'help poly;'
   ? leaving brnoeth.lib::inf_P
   skipping text from `;` error at token `)`
   ? leaving brnoeth.lib::Adj_div

this is caused by the fact that in the library variables are declared before minpoly is initialized (line 372,ff)

poly F=imap(r_auxz,F);
poly f_xz=subst(F,y,1);
poly aux=imap(base_r,aux);

Solution: put variable declarations after minpoly definition

Pull request:

Change History (1)

comment:1 Changed 7 years ago by hannes

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.