summaryrefslogtreecommitdiff
path: root/patches/igor-fix-missing-return.patch
blob: 357cfb21c8730fcca090246cb136ac328ab5a266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From b54cb6f4ebf513c4451f50d4c99e924800e50aac Mon Sep 17 00:00:00 2001
From: mchernigovskaya <masha.chernigovskaya@gmail.com>
Date: Fri, 29 Apr 2022 19:29:21 +0200
Subject: [PATCH] Update Utils.h

fix matrix assignment operator
---
 igor_src/Utils.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/igor_src/Utils.h b/igor_src/Utils.h
index 23fbea39..ffc6a571 100644
--- a/igor_src/Utils.h
+++ b/igor_src/Utils.h
@@ -139,6 +139,7 @@ template<typename T> struct Matrix {
 		for(int i = 0 ; i != rows*cols ; i++){
 			this->array_p[i] = other.array_p[i];
 		}
+		return *this;
 	}
 
 	T& operator()(const int& i ,const int& j ){