Commit 8fb51550 authored by Kirill Terekhov's avatar Kirill Terekhov
Browse files

Fix a bug

thanks to Andrey @SilverLife
parent fc985e27
...@@ -64,7 +64,6 @@ namespace INMOST ...@@ -64,7 +64,6 @@ namespace INMOST
for(enumerator i = 0; i < b.Rows(); ++i) for(enumerator i = 0; i < b.Rows(); ++i)
for(enumerator j = 0; j < b.Cols(); ++j) for(enumerator j = 0; j < b.Cols(); ++j)
(*this)(i,j) = b(i,j); (*this)(i,j) = b(i,j);
return *this;
} }
/// Construct from matrix of another type. /// Construct from matrix of another type.
/// @param other Another matrix of different type. /// @param other Another matrix of different type.
...@@ -75,7 +74,6 @@ namespace INMOST ...@@ -75,7 +74,6 @@ namespace INMOST
for(enumerator i = 0; i < b.Rows(); ++i) for(enumerator i = 0; i < b.Rows(); ++i)
for(enumerator j = 0; j < b.Cols(); ++j) for(enumerator j = 0; j < b.Cols(); ++j)
assign((*this)(i,j),b(i,j)); assign((*this)(i,j),b(i,j));
return *this;
} }
/// Assign matrix of the same type. /// Assign matrix of the same type.
/// @param other Another matrix of the same type. /// @param other Another matrix of the same type.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment