Skip to content

Commit

Permalink
fix 3dim array for cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
vwaurich authored and OpenModelica-Hudson committed Nov 1, 2016
1 parent f2641d7 commit ea606a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Include/Core/Math/Array.h
Expand Up @@ -606,7 +606,7 @@ class RefArrayDim3 : public RefArray<T, size1*size2*size3>
{
assert((size1*size2*size3) > (size3*(i-1 + size2*(j-1)) + (k-1)));
return *(RefArray<T, size1*size2*size3>::
_ref_array[size3*(i-1 + size2*(j-1)) + (k-1)]);
_ref_array[size3*(size2*(i-1) + (j-1)) + (k-1)]);
}

/**
Expand Down

0 comments on commit ea606a1

Please sign in to comment.