fixed export bug
authorJason Stover <jhs@math.gcsu.edu>
Tue, 10 Jul 2007 03:17:49 +0000 (03:17 +0000)
committerJason Stover <jhs@math.gcsu.edu>
Tue, 10 Jul 2007 03:17:49 +0000 (03:17 +0000)
src/language/stats/regression-export.h

index b546306b54a7b89ece770d0e915f9b8b4cdf0b20..3c3a76d6564737cb4cea0c2b911bb2da119a395e 100644 (file)
@@ -58,7 +58,7 @@ const char reg_getvar[] = "{\n\t\tj = pspp_reg_getvar (var_names[i]);\n"
 "const char *var_names[])\n{\n\t";
 
 const char reg_export_t_quantiles_1[] = "/*\n    Quantiles for the T distribution.\n*/\n"
-"static int\npspp_reg_t_quantile "
+"static double\npspp_reg_t_quantile "
 "(double prob)\n{\n\n\tint i;\n\tdouble quantiles[] = {\n\t\t";
 
 const char reg_export_t_quantiles_2[] = "i = (int) 100.0 * prob;\n\treturn quantiles[i];\n}\n";