Skip to content
Snippets Groups Projects
Commit 17d6a424 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Fix self assignment of field timeLoop_

Kudos to Clang's -Wself-assign-field.
parent 91b88468
No related branches found
No related tags found
1 merge request!1229Fix/various clang warnings
......@@ -360,7 +360,7 @@ public:
* \note calling this turns this into a stationary assembler
*/
void setTimeManager(std::shared_ptr<const TimeLoop> timeLoop)
{ timeLoop_ = timeLoop_; isStationaryProblem_ = !(static_cast<bool>(timeLoop)); }
{ timeLoop_ = timeLoop; isStationaryProblem_ = !(static_cast<bool>(timeLoop)); }
/*!
* \brief Sets the solution from which to start the time integration. Has to be
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment