Skip to content
Snippets Groups Projects
Commit 5eb9302a authored by Norihiro Watanabe's avatar Norihiro Watanabe
Browse files

fix set() for EigenVector

parent e6a33c34
No related branches found
No related tags found
No related merge requests found
...@@ -225,9 +225,9 @@ namespace MathLib { namespace BLAS ...@@ -225,9 +225,9 @@ namespace MathLib { namespace BLAS
// Vector // Vector
void set(EigenVector const& x, double const a) void set(EigenVector& x, double const a)
{ {
x.getRawVector() = a; x.getRawVector().setConstant(a);
} }
void copy(EigenVector const& x, EigenVector& y) void copy(EigenVector const& x, EigenVector& y)
......
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