forked from gentoo/gentoo
-
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.
app-accessibility/epos: Fix building with GCC-7
Bug: https://bugs.gentoo.org/638596 Closes: https://bugs.gentoo.org/638596 Closes: gentoo#7760 Package-Manager: Portage-2.3.16, Repoman-2.3.6 Closes: gentoo#7760
- Loading branch information
1 parent
0de1053
commit 8fbdb72
Showing
2 changed files
with
23 additions
and
0 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
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,22 @@ | ||
Bug: https://bugs.gentoo.org/638596 | ||
|
||
--- a/src/nnet/matrix.cc | ||
+++ b/src/nnet/matrix.cc | ||
@@ -63,7 +63,7 @@ | ||
template<class T> void CMatrix<T>::multiplyByTransponed (const CMatrix &y, CMatrix &retval) | ||
{ | ||
int i,j,k; | ||
- assert (cols == y.cols); | ||
+ this->assert (cols == y.cols); | ||
if (cols != y.cols) { retval.Realloc (0,0); return; } | ||
|
||
T sum; | ||
@@ -80,7 +80,7 @@ | ||
template<class T> void CMatrix<T>::transponedMultiply (const CMatrix &y, CMatrix &retval) | ||
{ | ||
int i,j,k; | ||
- assert (rows == y.rows); | ||
+ this->assert (rows == y.rows); | ||
if (rows != y.rows) { retval.Realloc (0,0); return; } | ||
|
||
T sum; |