Skip to content

Commit

Permalink
Update TMM_matrix.hpp
Browse files Browse the repository at this point in the history
Fixed an otherwise misleading operator
  • Loading branch information
m516 committed Jan 13, 2024
1 parent 5667992 commit 51e375b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TMM_matrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ namespace tmm{
Matrix<n,m,Scalar> M;
for(Size i = 0; i < n; i++)
for(Size j = 0; j < m; j++)
M[i][j]=data[i][j]+other.data[i][j];
M[i][j]=data[i][j]-other.data[i][j];
return M;
}

Expand Down

0 comments on commit 51e375b

Please sign in to comment.