diff --git a/optirustic/examples/nsga3_dtlz1.rs b/optirustic/examples/nsga3_dtlz1.rs index f0b4818..f136b7d 100644 --- a/optirustic/examples/nsga3_dtlz1.rs +++ b/optirustic/examples/nsga3_dtlz1.rs @@ -45,7 +45,7 @@ fn main() -> Result<(), Box> { let crossover_operator_options = SimulatedBinaryCrossoverArgs { distribution_index: 30.0, crossover_probability: 1.0, - ..SimulatedBinaryCrossoverArgs::Default() + ..SimulatedBinaryCrossoverArgs::default() }; // Set up the NSGA3 algorithm diff --git a/optirustic/examples/nsga3_dtlz2.rs b/optirustic/examples/nsga3_dtlz2.rs index 6b4ab0b..b045ea3 100644 --- a/optirustic/examples/nsga3_dtlz2.rs +++ b/optirustic/examples/nsga3_dtlz2.rs @@ -43,7 +43,7 @@ fn main() -> Result<(), Box> { let crossover_operator_options = SimulatedBinaryCrossoverArgs { distribution_index: 30.0, crossover_probability: 1.0, - ..SimulatedBinaryCrossoverArgs::Default() + ..SimulatedBinaryCrossoverArgs::default() }; // Set up the NSGA3 algorithm