From b6d2b4f1e8de7d3d3ed709c7c52fb384702f65c6 Mon Sep 17 00:00:00 2001 From: Pedro Maciel Date: Wed, 10 Jan 2024 16:42:01 +0000 Subject: [PATCH] eckit::maths::Qhull missing check --- src/eckit/maths/Qhull.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/eckit/maths/Qhull.cc b/src/eckit/maths/Qhull.cc index 40ec42af4..227e41373 100644 --- a/src/eckit/maths/Qhull.cc +++ b/src/eckit/maths/Qhull.cc @@ -30,6 +30,7 @@ Qhull::Qhull(size_t N, const coord_t& coord, const std::string& command) { auto pointCount = static_cast(coord.size() / N); qh_ = new orgQhull::Qhull; + ASSERT(qh_ != nullptr); std::ostringstream err; qh_->setErrorStream(&err);