Fix cut and paste error
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 7 May 2019 18:57:33 +0000 (20:57 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 7 May 2019 19:12:52 +0000 (21:12 +0200)
src/language/stats/quick-cluster.c

index d20d0f3f1e430b4073126016d14b92e6eb3c7893..46a6ca4adb1dfb7f02cae55071a540921f80a86e 100644 (file)
@@ -1044,7 +1044,7 @@ cmd_quick_cluster (struct lexer *lexer, struct dataset *ds)
 
              if (!dict_lookup_var (qc.dict, ds_cstr (&name)))
                {
-                 qc.var_distance = strdup (ds_cstr (&name));
+                 qc.var_membership = strdup (ds_cstr (&name));
                  break;
                }
            }