From f0d82dd0810fc9b5e1691e536b2feeefdaa4d52a Mon Sep 17 00:00:00 2001 From: Marco Luigi Gaibotti <marco.gaibotti@skywarder.eu> Date: Mon, 5 Aug 2024 13:33:16 +0000 Subject: [PATCH] Obj reassigned after checkElevation call --- classes/components/WindCustom.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/components/WindCustom.m b/classes/components/WindCustom.m index 3343cf1..c527b9c 100644 --- a/classes/components/WindCustom.m +++ b/classes/components/WindCustom.m @@ -63,7 +63,7 @@ classdef WindCustom < Component end function updateAll(obj) - obj.checkElevation(); + obj = obj.checkElevation(); s = length(obj.altitudes); magVector = nan(1,s); -- GitLab