Commit 9671fa3d authored by Cresson Remi's avatar Cresson Remi
Browse files

ENH: add option to enable zero-y intercept

parent 3f20e360
......@@ -431,7 +431,7 @@ private:
float b0, b1;
if (zeroy)
{
b1 = meanXY / meanX2;
b1 = meanXY / mean2X;
b0 = 0;
}
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment