scipr-lab/dizk

[Bug] Bad equality test when computing Lagrange coefficients

alexpArtos opened this issue · 0 comments

In FFTAuxiliary.java, line 197 has a bad equality test.

if (omega_i == t) {

should be replaced by

if (omega_i.equals(t)) {

Currently, the construction of the polynomial will fail when evaluated at a root of unity.