Diff of /src/modules/bugs/functions/Probit.cc [98f06f] .. [082b02]  Maximize  Restore

Switch to side-by-side view

--- a/src/modules/bugs/functions/Probit.cc
+++ b/src/modules/bugs/functions/Probit.cc
@@ -18,10 +18,10 @@
 	return qnorm (*args[0], 0, 1, 1, 0);
     }
 
-    bool Probit::checkScalarValue (vector <double const *> const &args) const
+    bool Probit::checkParameterValue (vector <double const *> const &args) const
     {
 	double p = *args[0];
-	return (p > 0 && p < 1);
+	return (p >= 0 && p <= 1);
     }
 
 }}

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks