Skip to content

Commit

Permalink
Fix wrong error message ...
Browse files Browse the repository at this point in the history
when trying to use a non-existing optimization module.
  • Loading branch information
ptaeuber authored and OpenModelica-Hudson committed Aug 8, 2017
1 parent 2cd28b6 commit 5b71b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/BackendDAEUtil.mo
Expand Up @@ -7876,7 +7876,7 @@ algorithm
index := index+1;
end for;
if listEmpty(outIndexes) then
Error.addCompilerError("'" + name + "' is not a valid optimization module. Please check the flags carefully.");
Error.addCompilerError("'" + inModuleName + "' is not a valid optimization module. Please check the flags carefully.");
fail();
end if;
end getModuleIndexes;
Expand Down

0 comments on commit 5b71b66

Please sign in to comment.