File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ class ParallelSparseMatrix {
356356 if constexpr (std::is_same<Right_, EigenVector_>::value) {
357357 return rhs;
358358 } else {
359- work.buffer = rhs;
359+ work.buffer . noalias () = rhs;
360360 return work.buffer ;
361361 }
362362 }();
@@ -374,7 +374,7 @@ class ParallelSparseMatrix {
374374 if constexpr (std::is_same<Right_, EigenVector_>::value) {
375375 return rhs;
376376 } else {
377- work.buffer = rhs;
377+ work.buffer . noalias () = rhs;
378378 return work.buffer ;
379379 }
380380 }();
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ class Centered {
247247 if constexpr (std::is_same<Right_, EigenVector_>::value) {
248248 return rhs;
249249 } else {
250- work.buffer = rhs;
250+ work.buffer . noalias () = rhs;
251251 return work.buffer ;
252252 }
253253 }();
@@ -266,7 +266,7 @@ class Centered {
266266 if constexpr (std::is_same<Right_, EigenVector_>::value) {
267267 return rhs;
268268 } else {
269- work.buffer = rhs;
269+ work.buffer . noalias () = rhs;
270270 return work.buffer ;
271271 }
272272 }();
You can’t perform that action at this time.
0 commit comments