Skip to content

Commit

Permalink
fix integer once more
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranke committed Oct 27, 2015
1 parent 02c1d40 commit 33b29ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Include/Core/Math/Functions.h
Expand Up @@ -147,7 +147,7 @@ inline static int round (const double &n)
/// Modelica integer function
inline static int integer (const double &n)
{
return omcpp::trunc(n);
return floor(n);
}

/// Horner-Schema (William George Horner)
Expand Down

0 comments on commit 33b29ef

Please sign in to comment.