Skip to content

Commit

Permalink
Fix C++ compilation...
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@21815 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Aug 8, 2014
1 parent f6cd188 commit 397a9c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions SimulationRuntime/cpp/Include/Core/Math/Array.h
Expand Up @@ -101,7 +101,7 @@ template<typename T, std::size_t size>class StatArrayDim1 : public BaseArray<T>

void assign( BaseArray<T>& otherArray)
{
std::vector<unsigned int> v;
std::vector<size_t> v;
v = otherArray.getDims();
for(unsigned int i = 1; i <= min(v[0],size); i++)
{
Expand Down Expand Up @@ -171,7 +171,7 @@ template<typename T ,std::size_t size1,std::size_t size2>class StatArrayDim2 : p
void assign( BaseArray<T>& otherArray)
{

std::vector<unsigned int> v;
std::vector<size_t> v;
v = otherArray.getDims();
for(int i = 1; i <= min(v[0],size1); i++)
{
Expand Down Expand Up @@ -257,7 +257,7 @@ template<typename T ,std::size_t size1, std::size_t size2, std::size_t size3> cl

void assign( BaseArray<T>& otherArray)
{
std::vector<unsigned int> v;
std::vector<size_t> v;
v = otherArray.getDims();
for(int i = 1; i <= min(v[0],size1); i++)
{
Expand Down Expand Up @@ -358,7 +358,7 @@ class StatArrayDim4 : public BaseArray<T>

void assign( BaseArray<T>& otherArray)
{
std::vector<unsigned int> v;
std::vector<size_t> v;
v = otherArray.getDims();
for(int i = 1; i <= min(v[0],size1); i++)
{
Expand Down Expand Up @@ -472,7 +472,7 @@ class StatArrayDim5 : public BaseArray<T>

void assign( BaseArray<T>& otherArray)
{
std::vector<unsigned int> v;
std::vector<size_t> v;
v = otherArray.getDims();
for(int i = 1; i <= min(v[0],size1); i++)
{
Expand Down

0 comments on commit 397a9c6

Please sign in to comment.