mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Better conformable check with message
This commit is contained in:
parent
6a0823718e
commit
196c9e4a4a
@ -85,7 +85,7 @@ class LatticeTrinaryExpression :public std::pair<Op,std::tuple<T1,T2,T3> >, publ
|
|||||||
|
|
||||||
void inline conformable(GridBase *lhs,GridBase *rhs)
|
void inline conformable(GridBase *lhs,GridBase *rhs)
|
||||||
{
|
{
|
||||||
assert(lhs == rhs);
|
assert((lhs == rhs) && " conformable check pointers mismatch ");
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class vobj>
|
template<class vobj>
|
||||||
|
Loading…
Reference in New Issue
Block a user