From 9a3fc678858b2b53db83ad69030741fad8780721 Mon Sep 17 00:00:00 2001 From: Marco De Lucia Date: Mon, 16 Oct 2023 12:11:52 +0200 Subject: [PATCH] Fix: Eigen::MatrixX instead of Eigen::MatrixXd in Grid.hpp --- include/tug/Grid.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/tug/Grid.hpp b/include/tug/Grid.hpp index 9698184..0aa9f58 100644 --- a/include/tug/Grid.hpp +++ b/include/tug/Grid.hpp @@ -59,9 +59,9 @@ public: this->deltaRow = double(this->domainRow) / double(this->row); // -> 1 this->deltaCol = double(this->domainCol) / double(this->col); // -> 1 - this->concentrations = Eigen::MatrixXd::Constant(row, col, MAT_INIT_VAL); - this->alphaX = Eigen::MatrixXd::Constant(row, col, MAT_INIT_VAL); - this->alphaY = Eigen::MatrixXd::Constant(row, col, MAT_INIT_VAL); + this->concentrations = Eigen::MatrixX::Constant(row, col, MAT_INIT_VAL); + this->alphaX = Eigen::MatrixX::Constant(row, col, MAT_INIT_VAL); + this->alphaY = Eigen::MatrixX::Constant(row, col, MAT_INIT_VAL); } /**