Commit a1f66683 authored by Cresson Remi's avatar Cresson Remi

ENH: add option to enable zero-y intercept

parent 9807348d
......@@ -445,8 +445,10 @@ private:
if (band>0)
exp << ";";
exp << "im1b" << (band+1) << "*" << b1;
if (b0 != 0)
if (b0>0)
exp << "+" << b0;
else
exp << "" << b0;
gain[band] = b1;
offset[band] = b0;
......
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