X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fcoefficient.c;h=1f157433ee21a901eda70718313a2f5edc18c676;hb=03e9ea4ed60c790091ab1ea85fffa29f0965f83e;hp=f738c783f241fedd1137d3100a372c5664b8341b;hpb=015e221b0f8578afee769528572c76387f26c629;p=pspp diff --git a/src/math/coefficient.c b/src/math/coefficient.c index f738c783f2..1f157433ee 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++; }