Skip to content
Snippets Groups Projects
Commit 4ecec70f authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Use the correct type to read the dithering ratio.

parent c8d06106
No related branches found
No related tags found
1 merge request!952Gravity dithering
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment