diff --git a/src/CoordCache.h b/src/CoordCache.h index b99cbe6ddd..f26b6b22dd 100644 --- a/src/CoordCache.h +++ b/src/CoordCache.h @@ -80,13 +80,13 @@ public: Geometry & geometry(T const * thing) { - check(thing, "geometry"); + checkDim(thing, "geometry"); return data_.find(thing)->second; } Geometry const & geometry(T const * thing) const { - check(thing, "geometry"); + checkDim(thing, "geometry"); return data_.find(thing)->second; }