Skip to content
Snippets Groups Projects
Commit 66418945 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Fix Eigen scalar assignment

parent 262357c2
Branches
No related tags found
No related merge requests found
...@@ -111,7 +111,7 @@ namespace AMDiS ...@@ -111,7 +111,7 @@ namespace AMDiS
/// \brief Set all entries to alpha /// \brief Set all entries to alpha
void set (const value_type& alpha) void set (const value_type& alpha)
{ {
vector_ = alpha; vector_.setConstant(alpha);
} }
/// \brief scale all entries by the factor alpha /// \brief scale all entries by the factor alpha
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment