From 87d39a705df2ae2e238a56de077f35d69010c498 Mon Sep 17 00:00:00 2001 From: LeLeLeLeto Date: Tue, 31 Dec 2024 01:35:05 +0100 Subject: [PATCH] Matrix default constructor --- matrices.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/matrices.h b/matrices.h index 2df6e37..ef42bbd 100644 --- a/matrices.h +++ b/matrices.h @@ -34,6 +34,7 @@ class Matrix{ inline Matrix Transpose(); // Operators + inline Matrix(); inline Matrix operator=(const Matrix*); inline Matrix operator+(const Matrix*); inline Matrix operator-(const Matrix*); @@ -48,6 +49,10 @@ class Matrix{ inline Matrix(const Matrix*); }; +Matrix::Matrix(){ + +} + Matrix Matrix::operator=(const Matrix* other){ return this->Swap(other); }