From 46f11a0a29e9a11679d9b84f798594115429c906 Mon Sep 17 00:00:00 2001 From: Christina Vaz Date: Mon, 18 Jun 2018 19:11:51 -0400 Subject: [PATCH] fix for multiple sources --- .../include/CGAL/Heat_method_3/Heat_method_3.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Heat_method_3/include/CGAL/Heat_method_3/Heat_method_3.h b/Heat_method_3/include/CGAL/Heat_method_3/Heat_method_3.h index 60ca5647cfb..65473b4933e 100644 --- a/Heat_method_3/include/CGAL/Heat_method_3/Heat_method_3.h +++ b/Heat_method_3/include/CGAL/Heat_method_3/Heat_method_3.h @@ -28,7 +28,7 @@ #include #include - +#include #include #include @@ -357,7 +357,7 @@ namespace Heat_method_3 { Eigen::VectorXd value_at_source_set(const Eigen::VectorXd& phi, int dimension) const { Eigen::VectorXd source_set_val(dimension,1); - if(!(sources.empty())) + if(sources.empty()) { for(int k = 0; k