From 76b19266d790173fe88047036225934f4f66a018 Mon Sep 17 00:00:00 2001 From: Alexander Barth Date: Fri, 20 Oct 2023 09:50:44 +0200 Subject: [PATCH] explicit return --- src/subvariable.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subvariable.jl b/src/subvariable.jl index f96b231e..5b0450c5 100644 --- a/src/subvariable.jl +++ b/src/subvariable.jl @@ -54,7 +54,7 @@ function collect(v::SubVariable{T,N}) where T where N A[] = v.parent[v.indices...] return A else - v.parent[v.indices...] + return v.parent[v.indices...] end end