From 196c9e4a4a8f8606a79494d00979b495bcf39977 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Sun, 24 Feb 2019 14:42:52 +0000 Subject: [PATCH] Better conformable check with message --- Grid/lattice/Lattice_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Grid/lattice/Lattice_base.h b/Grid/lattice/Lattice_base.h index 1169d18f..d0ef0f55 100644 --- a/Grid/lattice/Lattice_base.h +++ b/Grid/lattice/Lattice_base.h @@ -85,7 +85,7 @@ class LatticeTrinaryExpression :public std::pair >, publ void inline conformable(GridBase *lhs,GridBase *rhs) { - assert(lhs == rhs); + assert((lhs == rhs) && " conformable check pointers mismatch "); } template