function mustBeNonNan(A)
%MATLAB Code Generation Library Function
%
%   Copyright 2016-2017 The MathWorks, Inc.
%#codegen

coder.internal.allowHalfInputs;
coder.internal.allowEnumInputs;
coder.internal.assert(coder.internal.checkAll(@checkNonNan,A), ...
    'MATLAB:validators:mustBeNonNan');

%--------------------------------------------------------------------------

function out = checkNonNan(a)
out = ~isnan(a);

%--------------------------------------------------------------------------
