categoricals.c: Rename function to more accurately reflect its purpose
[pspp-builds.git] / src / math / covariance.c
index 9bc8eb72e7515a7ba2f3cb9042f315fe049e6877..2f4f525adb6b69a561cc524f079c4607d7198401 100644 (file)
@@ -268,7 +268,7 @@ get_val (const struct covariance *cov, int i, const struct ccase *c)
       return val->f;
     }
 
-  return categoricals_get_binary_by_subscript (cov->categoricals, i - cov->n_vars, c);
+  return categoricals_get_code_for_case (cov->categoricals, i - cov->n_vars, c);
 }
 
 #if 0