From 5ce19b18c512146e80347c985f11bd7dd9c7a88b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Tue, 12 Dec 2017 00:22:32 +0100 Subject: [PATCH] Fixed conversion warning --- .../examples/Periodic_3_mesh_3/mesh_implicit_multi_domain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Periodic_3_mesh_3/examples/Periodic_3_mesh_3/mesh_implicit_multi_domain.cpp b/Periodic_3_mesh_3/examples/Periodic_3_mesh_3/mesh_implicit_multi_domain.cpp index f78484183e9..24d5c003a22 100644 --- a/Periodic_3_mesh_3/examples/Periodic_3_mesh_3/mesh_implicit_multi_domain.cpp +++ b/Periodic_3_mesh_3/examples/Periodic_3_mesh_3/mesh_implicit_multi_domain.cpp @@ -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 funcs;