Skip to content

Added ASSERT for 1D and 2D expansion in Energy filter

The energy filter currently causes the code to crash without warning in 1D and 2D cases, potentially making it difficult to pinpoint the cause of error on the user side. Assert is added to handle these two cases.

Merge request reports