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@21869 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Aug 14, 2014
1 parent 6b6993d commit 26f9d7d
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -205,7 +205,7 @@ void SystemDefaultImplementation::getString(string* z)

void SystemDefaultImplementation::getContinuousStates(double* z)
{
std::copy(__z ,__z + _dimContinuousStates, z);
std::copy(__z ,__z + _dimContinuousStates, z);
/*for(int i=0; i< _dimContinuousStates; ++i)
{
z[i] = __z[i];
Expand Down Expand Up @@ -294,7 +294,7 @@ void SystemDefaultImplementation::setReal(const double* z)

void SystemDefaultImplementation::setContinuousStates(const double* z)
{
std::copy(z ,z + _dimContinuousStates,__z);
std::copy(z ,z + _dimContinuousStates,__z);
/*for(int i=0; i<_dimContinuousStates; ++i)
{
__z[i] = z[i];
Expand All @@ -304,7 +304,7 @@ void SystemDefaultImplementation::setContinuousStates(const double* z)

void SystemDefaultImplementation::setRHS(const double* f)
{
std::copy(f ,f + _dimRHS, __zDot);
std::copy(f ,f + _dimRHS, __zDot);
/*for(int i=0; i<_dimRHS; ++i)
{
__zDot[i] = f[i];
Expand All @@ -316,7 +316,7 @@ void SystemDefaultImplementation::setRHS(const double* f)
/// Provide the right hand side (according to the index)
void SystemDefaultImplementation::getRHS(double* f)
{
std:copy(__zDot, __zDot+_dimRHS, f);
std:copy(__zDot, __zDot+_dimRHS, f);
// for(int i=0; i<_dimRHS; ++i)
// f[i] = __zDot[i];
};
Expand Down

0 comments on commit 26f9d7d

Please sign in to comment.