Fixed bug #21801
[pspp-builds.git] / src / data / data-in.c
index cde7c07f8c58b0272e465be98bf64e53fb330956..28d6da2a42b7b2629779838b28e80000e28f90f0 100644 (file)
@@ -171,7 +171,10 @@ parse_number (struct data_in *i)
   int save_errno;
   char *tail;
 
-  assert (fmt_get_category (i->format) != FMT_CAT_CUSTOM);
+  if  (fmt_get_category (i->format) == FMT_CAT_CUSTOM)
+    {
+      style = settings_get_style (FMT_F);
+    }
 
   /* Trim spaces and check for missing value representation. */
   if (trim_spaces_and_check_missing (i))