X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fcoefficient.c;h=1f157433ee21a901eda70718313a2f5edc18c676;hb=9e0e4996fad6563f0a1ce628b80db5c23ef8279e;hp=f738c783f241fedd1137d3100a372c5664b8341b;hpb=46dfa3ec7417bbb7452f152a6b62435006259633;p=pspp-builds.git diff --git a/src/math/coefficient.c b/src/math/coefficient.c index f738c783..1f157433 100644 --- a/src/math/coefficient.c +++ b/src/math/coefficient.c @@ -186,8 +186,8 @@ pspp_coeff_var_to_coeff (const struct variable *v, struct pspp_coeff **coefs, if (val != NULL) { j = i; - while (j < n_coef && compare_values (pspp_coeff_get_value (coefs[j], v), - val, v) != 0) + while (j < n_coef && compare_values_short (pspp_coeff_get_value (coefs[j], v), + val, v) != 0) { j++; }