Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@25635 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Apr 20, 2015
1 parent face833 commit c399b9f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions SimulationRuntime/cpp/Include/Core/Math/Array.h
@@ -1,6 +1,6 @@
#pragma once

/**
/**
* forward declaration
*/
template <class T> class DynArrayDim1;
Expand Down Expand Up @@ -258,8 +258,8 @@ template<typename T, std::size_t size,bool isRef = false>class StatArrayDim1 : p
}
return *this;
}


/**
*Resize array method
*@param dims vector with new dimension sizes
Expand Down Expand Up @@ -712,7 +712,7 @@ class StatArrayDim2 : public BaseArray<T>
throw ModelicaSimulationError(MODEL_ARRAY_FUNCTION,"initialization for a non reference array with reference data not allowed");
}
}

/**
* Constuctor for two dimensional array
* empty array
Expand All @@ -733,7 +733,7 @@ class StatArrayDim2 : public BaseArray<T>
checkArray("assign data to reference array is not supported");
_array_data = otherarray._array_data;
}

/**
* Assignment operator to assign array of type base array to static array
* a=b
Expand Down Expand Up @@ -1336,7 +1336,7 @@ template<typename T ,std::size_t size1, std::size_t size2, std::size_t size3,boo
}
}


/**
* Assignment operator to assign static array
* @param b array of type StatArrayDim3
Expand Down Expand Up @@ -1516,8 +1516,8 @@ template<typename T>class DynArrayDim1 : public BaseArray<T>
{
}



virtual void resize(const std::vector<size_t>& dims)
{
if (dims != getDims())
Expand All @@ -1534,7 +1534,7 @@ template<typename T>class DynArrayDim1 : public BaseArray<T>
resize(v);
const T* data_otherarray = b.getData();
_multi_array.assign(data_otherarray,data_otherarray+ v[0]);


}

Expand Down

0 comments on commit c399b9f

Please sign in to comment.