diff --git a/nac3core/src/codegen/expr.rs b/nac3core/src/codegen/expr.rs
index 674d7840..f24c7d78 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