From 47ccfc0ee67c813c5da8b5d23129ef1ef39568b4 Mon Sep 17 00:00:00 2001 From: Pablo Villacorta Aylagas Date: Mon, 17 Jun 2024 19:09:11 +0200 Subject: [PATCH] Recover `return` --- KomaMRIBase/src/datatypes/phantom/motion/SimpleMotion.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KomaMRIBase/src/datatypes/phantom/motion/SimpleMotion.jl b/KomaMRIBase/src/datatypes/phantom/motion/SimpleMotion.jl index d3ba704e4..80837d880 100644 --- a/KomaMRIBase/src/datatypes/phantom/motion/SimpleMotion.jl +++ b/KomaMRIBase/src/datatypes/phantom/motion/SimpleMotion.jl @@ -97,7 +97,7 @@ function times(motion::SimpleMotion) end function initialize_motion!(motion::SimpleMotion) - sort!(motion.types; by=m -> times(m)[1]) + return sort!(motion.types; by=m -> times(m)[1]) end # --------- Simple Motion Types: -------------