Skip to content

Commit

Permalink
fixed final main
Browse files Browse the repository at this point in the history
  • Loading branch information
aronszanto committed Mar 26, 2016
1 parent ef3ecd9 commit 74ec0c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Expand Up @@ -753,7 +753,7 @@ int main(int argc, char *argv[]){
}
else if (argc != 4)
std::cout<<"Incorrect numargs, proper: \'0 dimension inputfile\'";
else if (argv[1] == 0)
else if (stoi(argv[1]) == 0)
{
int dimension = atoi(argv[2]);
char* inputfile = argv[3];
Expand Down

0 comments on commit 74ec0c2

Please sign in to comment.