Commit a84300ab authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

removed const_cast in operations/product and norm

parent 2f05c417
......@@ -59,7 +59,7 @@ namespace AMDiS
using namespace mtl::vector;
typedef parameters<mtl::col_major, non_fixed::dimension, false, size_type> param;
mtl::dense_vector<const value_type, param> tmp(AMDiS::size(v), value_typev.begin());
mtl::dense_vector<const value_type, param> tmp(AMDiS::size(v), v.begin());
return mtl::two_norm(tmp);
}
......
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