forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[itpp] Fix runtime errors (microsoft#42881)
- Loading branch information
1 parent
1e73628
commit 989b8d3
Showing
5 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/itpp/base/mat.cpp b/itpp/base/mat.cpp | ||
index 9f2a20e..11b0a58 100644 | ||
--- a/itpp/base/mat.cpp | ||
+++ b/itpp/base/mat.cpp | ||
@@ -173,8 +173,7 @@ cmat operator*(const cmat &m1, const cmat &m2) | ||
template<> | ||
mat operator*(const mat &m1, const mat &m2) | ||
{ | ||
- it_assert_debug(m1.rows() == m2.cols(), | ||
- "Mat<>::operator*(): Wrong sizes"); | ||
+ it_assert_debug(m1.cols() == m2.rows(), "cmat::operator*(): Wrong sizes"); | ||
mat r(m1.rows(), m2.cols()); | ||
double *tr = r._data(); | ||
const double *t1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters