Don't create histograms for string variables.
[pspp-builds.git] / src / language / stats / frequencies.q
index 25866a417acd109d1c715dec892bdef27294f2f5..ea42475c4014ad0394740ea22bad4104537e21dc 100644 (file)
@@ -606,7 +606,7 @@ postcalc (const struct dataset *ds)
 
 
 
-      if ( chart == GFT_HIST)
+      if ( chart == GFT_HIST && var_is_numeric (v) )
        {
          double d[frq_n_stats];
          struct histogram *hist ;