diff --git a/classes/components/WindCustom.m b/classes/components/WindCustom.m
index c527b9c129440c08b1789a06349113b12a203e5d..9c927d0a05b28226822366644de7a0f304b121e6 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