diff --git a/src/sample_generator.cpp b/src/sample_generator.cpp index 4000d7c0..43d0f338 100644 --- a/src/sample_generator.cpp +++ b/src/sample_generator.cpp @@ -32,6 +32,7 @@ SampleGenerator::SampleGenerator(MPI_Comm comm) std::string param_type = config.GetRequiredOptionFromDict("type", param_list[p]); if (param_type == "double") params[p] = new DoubleParam(param_key, param_list[p]); + else if (param_type == "integer") params[p] = new IntegerParam(param_key, param_list[p]); else if (param_type == "filename") params[p] = new FilenameParam(param_key, param_list[p]); else mfem_error("SampleGenerator: Unknown parameter type!\n"); } // for (int p = 0; p < num_sampling_params; p++)