Commit b2f1c660 authored by Lasse Hinrichsen's avatar Lasse Hinrichsen
Browse files

Allow to set Linearization in TNNMGStep

Whats the point of having a shared_ptr member if it can never actually
be shared with anything?
parent 133a3ea1
......@@ -178,6 +178,16 @@ public:
return *linearization_;
}
/**
* \brief Set the linearization.
*
* TODO: Now that we have a const getter and a set method,
* maybe unify them.
*/
void setLinearization(std::shared_ptr<Linearization> lin) {
linearization_ = lin;
}
private:
const Functional* f_;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment