From 6c7f0a5b0cc5b598d481341399818432e9f58c06 Mon Sep 17 00:00:00 2001 From: Simon Vidanovic Date: Tue, 3 Dec 2024 10:02:03 -0800 Subject: [PATCH] Fix for debug compilation --- src/SingleLayerOptics/src/MaterialDescription.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/SingleLayerOptics/src/MaterialDescription.cpp b/src/SingleLayerOptics/src/MaterialDescription.cpp index bbdba3d1..32214941 100644 --- a/src/SingleLayerOptics/src/MaterialDescription.cpp +++ b/src/SingleLayerOptics/src/MaterialDescription.cpp @@ -441,7 +441,6 @@ namespace SingleLayerOptics const CBeamDirection & t_IncomingDirection, const CBeamDirection &) const { - assert(m_AngularSample); return m_AngularSample.getProperty( m_MinLambda, m_MaxLambda, t_Property, t_Side, t_IncomingDirection.theta()); } @@ -464,7 +463,6 @@ namespace SingleLayerOptics } // Perform the calculation - assert(m_AngularSample); auto result = m_AngularSample.getWavelengthProperties(t_Property, t_Side, t_IncomingDirection.theta());