function g = cgn_get ( )

%*****************************************************************************80
%
%% cgn_get() gets the current generator index.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    30 March 2013
%
%  Author:
%
%    John Burkardt
%
%  Output:
%
%    integer G, the current generator index.
%
  i = -1;
  g = [];
  g = cgn_memory ( i, g );

  return
end
