Fixed logic for output language.

issue#70
Stéphane Adjemian (Charybdis) 2019-10-07 09:28:49 +02:00
parent 7b4616e853
commit 14b6cb6bee
1 changed files with 2 additions and 2 deletions

View File

@ -320,10 +320,10 @@ main(int argc, char **argv)
s.erase(0, 9); s.erase(0, 9);
if (s == "julia")
language = LanguageOutputType::julia;
if (s == "matlab") if (s == "matlab")
language = LanguageOutputType::matlab; language = LanguageOutputType::matlab;
else if (s == "julia")
language = LanguageOutputType::julia;
else else
{ {
cerr << "Incorrect syntax for language option" << endl; cerr << "Incorrect syntax for language option" << endl;