From 6400a0b2fbff8c1c588207d97acc5e0362d45173 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Mon, 18 Jul 2022 22:10:59 +0200 Subject: [PATCH] Formating --- matrix.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matrix.hpp b/matrix.hpp index 1ab4715..e4e761f 100644 --- a/matrix.hpp +++ b/matrix.hpp @@ -137,9 +137,9 @@ public: } // Fixme: This is very dumb const vector get_eigenvalues() { - if (this->is_diagonal()) - return this->get_diagonal(); - return vector(0); + if (this->is_diagonal()) + return this->get_diagonal(); + return vector(0); } const bool is_eigenvalue(cnumber z) const { return ((*this - (this->I() * z)).determinant() == 0);