function check = zipf_check ( a )

%*****************************************************************************80
%
%% zipf_check() checks the parameter of the Zipf PDF.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    08 October 2004
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real A, the parameter of the PDF.
%    1.0 < A.
%
%  Output:
%
%    logical CHECK, is true if the parameters are legal.
%
  if ( a <= 1.0 )
    fprintf ( 1, '\n' );
    fprintf ( 1, 'ZIPF_CHECK - Fatal error!\n' );
    fprintf ( 1, '  A <= 1.\n' );
    check = false;
    return
  end

  check = true;

  return
end
