fixed variable type check
[pspp-builds.git] / src / math / linreg / coefficient.c
index 2cca9f54653327918691ab228966f32ca82d03b8..d1fcbfa2e4bb6a145d0404c9d5493c7c397a62a8 100644 (file)
@@ -164,7 +164,7 @@ pspp_linreg_coeff_get_value (struct pspp_linreg_coeff *c,
     {
       return NULL;
     }
-  if (v->type == NULL)
+  if (v->type == NUMERIC)
     {
       return NULL;
     }