Fixed conversion warning

This commit is contained in:
Mael Rouxel-Labbé 2017-12-12 00:22:32 +01:00
parent 881ad18dac
commit 5ce19b18c5
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ FT schwarz_p(const Point& p)
int main(int argc, char** argv)
{
int domain_size = (argc > 1) ? atof(argv[1]) : 1;
int domain_size = (argc > 1) ? atoi(argv[1]) : 1;
int number_of_copies_in_output = (argc > 2) ? atoi(argv[2]) : 4; // can be 1, 2, 4, or 8
std::vector<Function> funcs;