function bsreset(verbose, resettol)
% bsreset Resets binary search [PHYS210-bs]
%
%  bsreset([verbose], [ressetol]);
%     Input argument verbose is optional, if 0 suppresses all printed output.
%     Input argument resettol is optional and resets tolerance if nonzero.
% 
   global Bs_low Bs_high Bs_tol Bs_progress;
   Bs_low = [];
   Bs_high = [];
   Bs_progress = [];
   if nargin < 1
      verbose = 1
   end
   if nargin > 1 && resettol
      Bs_tol = NaN;
   end
   if verbose
      fprintf('Tolerance: %.2e\n', Bs_tol);
   end
end
