Skip to content

Commit

Permalink
Added #include <stdio.h> to make it compile on Linux again.Fixed bug …
Browse files Browse the repository at this point in the history
…in operator+=.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@738 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
ankar committed Feb 15, 2002
1 parent bbdbcc2 commit 1987ebb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mosh/src/value.cpp
Expand Up @@ -11,6 +11,7 @@
#include "runtime/numerical_array.hpp"

#include <cmath>
#include <stdio.h>

value::value() : m_function(0)//,m_function_argument(0)
{
Expand Down Expand Up @@ -648,7 +649,7 @@ const value& value::operator+= (const value& val)
}
else if (is_integer_array() && val.is_integer_array())
{
m_integer_array = val.m_integer_array;
m_integer_array += val.m_integer_array;
}
else
{
Expand Down

0 comments on commit 1987ebb

Please sign in to comment.