diff --git a/nac3core/src/codegen/expr.rs b/nac3core/src/codegen/expr.rs
index 674d78408..f24c7d78c 100644
--- a/nac3core/src/codegen/expr.rs
+++ b/nac3core/src/codegen/expr.rs
@@ -1667,6 +1667,7 @@ fn gen_ndarray_subscript_expr<'ctx, G: CodeGenerator>(
slice: &Expr