diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-02-26 04:02:30 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-02-26 04:02:30 +0000 |
commit | 6ed47ba57d52fe5179586e410db9cb893be711cd (patch) | |
tree | fb979fb4cf4f8052c8cc66b1ec9516d91fcd859b /doc/examples/matrixfree_cg.cpp | |
parent | 02f44805248634694d5fa911c91aaba375279d32 (diff) | |
parent | bc0f5df265caa21a2120c22453655a7fcc941991 (diff) | |
download | eigen-6ed47ba57d52fe5179586e410db9cb893be711cd.tar.gz |
Snap for 8228242 from bc0f5df265caa21a2120c22453655a7fcc941991 to tm-d1-releaseandroid-13.0.0_r9android-13.0.0_r15android-13.0.0_r14android-13.0.0_r13android-13.0.0_r11android-13.0.0_r10android13-d1-s3-releaseandroid13-d1-s2-releaseandroid13-d1-s1-releaseandroid13-d1-release
Change-Id: Icbf1e7e38b968ba0f18b25855d89d57751f3f1ee
Diffstat (limited to 'doc/examples/matrixfree_cg.cpp')
-rw-r--r-- | doc/examples/matrixfree_cg.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/examples/matrixfree_cg.cpp b/doc/examples/matrixfree_cg.cpp index 6a205aea3..74699381c 100644 --- a/doc/examples/matrixfree_cg.cpp +++ b/doc/examples/matrixfree_cg.cpp @@ -67,6 +67,7 @@ namespace internal { // This method should implement "dst += alpha * lhs * rhs" inplace, // however, for iterative solvers, alpha is always equal to 1, so let's not bother about it. assert(alpha==Scalar(1) && "scaling is not implemented"); + EIGEN_ONLY_USED_FOR_DEBUG(alpha); // Here we could simply call dst.noalias() += lhs.my_matrix() * rhs, // but let's do something fancier (and less efficient): |