diff --git a/src/Entity.jl b/src/Entity.jl index e1cdafbf38d9a8f2cd2482501ddb02239822a1bb..cdf97f175493cfd72d06fc20d9921c8bfe2f2939 100644 --- a/src/Entity.jl +++ b/src/Entity.jl @@ -1595,7 +1595,7 @@ Return true if the given `entity` has errors, false otherwise. """ function has_errors(entity::Ref{_Entity}) - return get_errors(entity) > 0 + return get_errors_size(entity) > 0 end @@ -1606,7 +1606,7 @@ Return true if the given `entity` has warnings, false otherwise. """ function has_warnings(entity::Ref{_Entity}) - return get_warnings(entity) > 0 + return get_warnings_size(entity) > 0 end