Skip to content
Snippets Groups Projects
Commit 554b9650 authored by Henry Weller's avatar Henry Weller
Browse files

VectorSpaces, MatrixSpaces: Allow automatic conversion from zero

parent 34361493
Branches
Tags
No related merge requests found
......@@ -72,7 +72,7 @@ public:
//- Construct null
inline CompactSpatialTensor();
inline explicit CompactSpatialTensor(const Foam::zero);
inline CompactSpatialTensor(const Foam::zero);
//- Construct given MatrixSpace of the same rank
inline CompactSpatialTensor
......
......@@ -71,7 +71,7 @@ public:
//- Construct null
inline CompactSpatialTensorT();
inline explicit CompactSpatialTensorT(const Foam::zero);
inline CompactSpatialTensorT(const Foam::zero);
//- Construct given MatrixSpace of the same rank
inline CompactSpatialTensorT
......
......@@ -87,7 +87,7 @@ public:
inline SpatialTensor();
//- Construct initialized to zero
inline explicit SpatialTensor(const Foam::zero);
inline SpatialTensor(const Foam::zero);
//- Construct given MatrixSpace of the same rank
inline SpatialTensor(const typename SpatialTensor::msType&);
......
......@@ -92,7 +92,7 @@ public:
inline SpatialVector();
//- Construct initialized to zero
inline explicit SpatialVector(const Foam::zero);
inline SpatialVector(const Foam::zero);
//- Construct given VectorSpace of the same rank
inline SpatialVector(const typename SpatialVector::vsType&);
......
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