diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/itpp/fix-build.patch | |
Diffstat (limited to 'vcpkg/ports/itpp/fix-build.patch')
| -rw-r--r-- | vcpkg/ports/itpp/fix-build.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/itpp/fix-build.patch b/vcpkg/ports/itpp/fix-build.patch new file mode 100644 index 0000000..282504d --- /dev/null +++ b/vcpkg/ports/itpp/fix-build.patch @@ -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; |