function [varargout] = gtb_empty (ghb, varargin)
%GTB_EMPTY wrapper for GrB.empty and GhB.empty

% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2026, All Rights Reserved.
% SPDX-License-Identifier: Apache-2.0

if (~(ghb == 0 || ghb == 1))
    ghb = rand (1) > 0.5 ; % choose ghb at random
end
if (ghb)
    [varargout{1:nargout}] = GhB.empty (varargin {:}) ;
else
    [varargout{1:nargout}] = GrB.empty (varargin {:}) ;
end

