[GiNaC-list] [BUG] commit 97ef604e breaks evaluation of some G-polylogs

Valery Yundin yuvalery at gmail.com
Wed Sep 10 13:27:31 CEST 2014


The following commit
97ef604e "G_numeric: fix numeric evaluation with trailing zeros and y != 1."
breaks evaluation of G-polylogs with some arguments/

For instance:
evalf( G({-1,1,-1,0},1) );

evalf( G({-1,-1,1,-1,0},1) );
evalf( G({-1,0,1,-1,0},1) );
evalf( G({-1,1,-1,-1,0},1) );
evalf( G({-1,1,-1,0,0},1) );
evalf( G({-1,1,-1,1,0},1) );
evalf( G({-1,1,0,-1,0},1) );
evalf( G({-1,1,1,-1,0},1) );
evalf( G({0,-1,1,-1,0},1) );
evalf( G({0,1,1,-1,0},1) );

results in exception:
log_eval(): log(0)
instead of the correct numerical value.

With best regards, Valery Yundin.

More information about the GiNaC-list mailing list