Skip to content

Commit

Permalink
[Janitor mode] Fix tabs
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17207 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Sep 12, 2013
1 parent 8d2a30c commit f0d5ded
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -84,7 +84,7 @@ struct SolverOMCFactory : public ObjectFactory<CreationPolicy>
else if((solvername.compare("cvode")==0)||(solvername.compare("dassl")==0))
{
solvername = "cvode"; //workound for dassl, using cvode instead
PATH cvode_path = ObjectFactory<CreationPolicy>::_library_path;
PATH cvode_path = ObjectFactory<CreationPolicy>::_library_path;
PATH cvode_name(CVODE_LIB);
cvode_path/=cvode_name;
LOADERRESULT result = ObjectFactory<CreationPolicy>::_factory->LoadLibrary(cvode_path.string(),*_solver_type_map);
Expand Down
Expand Up @@ -50,7 +50,7 @@ struct SolverSettingsOMCFactory : public ObjectFactory<CreationPolicy>
else if((solvername.compare("cvode")==0)||(solvername.compare("dassl")==0))
{
solvername = "cvode"; //workound for dassl, using cvode instead
PATH cvode_path = ObjectFactory<CreationPolicy>::_library_path;
PATH cvode_path = ObjectFactory<CreationPolicy>::_library_path;
PATH cvode_name(CVODE_LIB);
cvode_path/=cvode_name;
LOADERRESULT result = ObjectFactory<CreationPolicy>::_factory->LoadLibrary(cvode_path.string(),*_solver_type_map);
Expand All @@ -59,7 +59,7 @@ struct SolverSettingsOMCFactory : public ObjectFactory<CreationPolicy>
throw std::runtime_error("Failed loading CVode solver library!");
}

solver_settings_key.assign("extension_export_cvode");
solver_settings_key.assign("extension_export_cvode");
}
else
throw std::invalid_argument("Selected Solver is not available");
Expand Down

0 comments on commit f0d5ded

Please sign in to comment.