From c444d414e7957fcb64425fa8098eaffa64173ba3 Mon Sep 17 00:00:00 2001 From: thierry antoun Date: Wed, 26 Jun 2024 14:43:50 +0200 Subject: [PATCH] type correction in the non uniform heat equations --- examples/non_uniform_heat_equation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/non_uniform_heat_equation.cpp b/examples/non_uniform_heat_equation.cpp index 1fcdf5218..9f5be0999 100644 --- a/examples/non_uniform_heat_equation.cpp +++ b/examples/non_uniform_heat_equation.cpp @@ -17,8 +17,8 @@ //! [vector_generator] std::vector generate_random_vector( int n, - int lower_bound, - int higher_bound) + double lower_bound, + double higher_bound) { std::random_device rd; std::mt19937 gen(rd());