Don't update categorical variables whose values are missing
[pspp-builds.git] / src / math / covariance.c
index 7e9736291c4a32e81cad37b0a6fac7aa902f5b26..dbcf4f65efb8d8b5c586c3e90afb61b73327da33 100644 (file)
@@ -195,7 +195,7 @@ covariance_2pass_create (size_t n_vars, const struct variable **vars,
   cov->n_cm = - 1;
   cov->cm = NULL;
 
-  cov->categoricals = categoricals_create (catvars, n_catvars, wv);
+  cov->categoricals = categoricals_create (catvars, n_catvars, wv, exclude);
 
   return cov;
 }