Skip to content
Snippets Groups Projects
Commit f046a8c1 authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[functions.affine] default b to 0

parent 25942109
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,8 @@ public: ...@@ -81,7 +81,8 @@ public:
cfg.get("name", default_cfg.get<std::string>("name"))); cfg.get("name", default_cfg.get<std::string>("name")));
} // ... create(...) } // ... create(...)
explicit Affine(const MatrixType& matrix, const RangeType& vector, const std::string name_in = static_id()) explicit Affine(const MatrixType& matrix, const RangeType& vector = RangeType(0),
const std::string name_in = static_id())
: A_(matrix) : A_(matrix)
, b_(vector) , b_(vector)
, name_(name_in) , name_(name_in)
......
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