mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ScatterDraw: Compatible with old C++
git-svn-id: svn://ultimatepp.org/upp/trunk@9650 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ec27a77769
commit
d196b2a2ce
1 changed files with 2 additions and 1 deletions
|
|
@ -335,7 +335,8 @@ bool Spline::IsInputSane(Vector<double>& xdata, Vector<double>& ydata)
|
|||
|
||||
bool first = true;
|
||||
double xold;
|
||||
for(double x : xdata) {
|
||||
for(int i = 0; i < xdata.GetCount(); ++i) {
|
||||
double x = xdata[i];
|
||||
if(first)
|
||||
xold = x;
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue