diff --git a/examples/main.c b/examples/main.c index 3cc4b2f9daee242892898fd08514db95b1601501..200ff9920e9a483a483f442b2a2f0254efcc76ed 100644 --- a/examples/main.c +++ b/examples/main.c @@ -766,7 +766,7 @@ int main(int argc, char *argv[]) { params, "InitialConditions:generate_gas_in_ics", 0); const int with_dithering = parser_get_opt_param_int(params, "InitialConditions:dithering", 0); - int dithering_ratio = 0.; + double dithering_ratio = 0.; if (with_dithering) { dithering_ratio = parser_get_param_double(params, "InitialConditions:dithering_ratio");