From b1d59c0a69971e9c803595c27929228798048322 Mon Sep 17 00:00:00 2001 From: "Pier Francesco A. Bachini" <pierfrancesco.bachini@skywarder.eu> Date: Mon, 5 Aug 2024 16:06:17 +0200 Subject: [PATCH] Fix problem with checkElevation function in WindCustom --- 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 c527b9c..9c927d0 100644 --- a/classes/components/WindCustom.m +++ b/classes/components/WindCustom.m @@ -107,7 +107,7 @@ classdef WindCustom < Component obj.elevation = elVector; end - function checkElevation(obj) + function obj = checkElevation(obj) if any(size(obj.elevationDistribution) ~= size(obj.azimuthDistribution)) obj.elevationDistribution = repmat("u", size(obj.azimuthDistribution)); end -- GitLab