Skip to content
Snippets Groups Projects
Commit 120e441a authored by Katharina Heck's avatar Katharina Heck Committed by Dennis Gläser
Browse files

[test][io] allow adl for math functions

parent 774a513d
No related branches found
No related tags found
4 merge requests!600[WIP][components][plotproperties] Add a source file to plot properties of some components,!501Freeflow/turbulenceproperties,!492Resolve "Inconsistent `index()` method of the different `SubControlVolume` classes",!364Feature/allow adl for std mathfunctions
...@@ -46,8 +46,10 @@ int main() ...@@ -46,8 +46,10 @@ int main()
{ {
x[i] = xMin + xRange * double(i) /double(numIntervals); x[i] = xMin + xRange * double(i) /double(numIntervals);
y[i] = x[i]*x[i]; y[i] = x[i]*x[i];
yMin = std::min(yMin, y[i]); using std::max;
yMax = std::max(yMax, y[i]); using std::min;
yMin = min(yMin, y[i]);
yMax = max(yMax, y[i]);
} }
gnuplot.setXRange(0, 5); gnuplot.setXRange(0, 5);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment