Skip to content
Snippets Groups Projects
Commit 32257796 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Add constructor from scalar

For some reason only clang complains about this.
parent 19d8d6d8
No related branches found
No related tags found
1 merge request!23Use only LocalView objects, no LocalIndexSet ones
This commit is part of merge request !23. Comments created here will be created in the context of that merge request.
......@@ -29,6 +29,10 @@ public:
data_ = {m[2][1], m[0][2], m[1][0]};
}
SkewMatrix(T v)
: data_(v)
{}
SkewMatrix<T,3>& operator*=(const T& a)
{
data_ *= a;
......
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