Allow RANK grouping variables to be strings. Fixes bug #18533.
[pspp-builds.git] / src / language / stats / rank.q
index f64778ae78fa4add452f969b64505220f25a198a..882d04eba857c6d1fd20435d12a98abc1ff8f343 100644 (file)
@@ -1,7 +1,6 @@
 /* PSPP - RANK. -*-c-*-
 
 Copyright (C) 2005, 2006 Free Software Foundation, Inc.
-Author: John Darrington <john@darrington.wattle.id.au>, 
         Ben Pfaff <blp@gnu.org>.
 
 This program is free software; you can redistribute it and/or
@@ -953,7 +952,7 @@ rank_custom_variables (struct lexer *lexer, struct dataset *ds, struct cmd_rank
 
       if (!parse_variables (lexer, dataset_dict (ds), 
                            &group_vars, &n_group_vars,
-                           PV_NO_DUPLICATE | PV_NUMERIC | PV_NO_SCRATCH) )
+                           PV_NO_DUPLICATE | PV_NO_SCRATCH) )
        {
          free (group_vars);
          return 0;