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@22472 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Sep 29, 2014
1 parent 5f2e6ab commit 7d93616
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SimulationRuntime/cpp/Core/Math/ArrayOperations.cpp
Expand Up @@ -189,10 +189,10 @@ template < typename T>
void divide_array( BaseArray<T> & inputArray ,const T &b, BaseArray<T> & outputArray )
{
unsigned int nelems = inputArray.getNumElems();
if ( outputArray.getNumElems() != nelems)
{
outputArray.setDims(inputArray.getDims());
}
if ( outputArray.getNumElems() != nelems)
{
outputArray.setDims(inputArray.getDims());
}
T* data = inputArray.getData();
T* aim = outputArray.getData();
std::transform (data, data + nelems, aim, std::bind2nd( std::divides< T >(), b ));
Expand Down

0 comments on commit 7d93616

Please sign in to comment.