function []=check_HxHy(H2,Hx2,Hy2) % Check that Hx2 and Hy2 don't violate basic rules % This should *not* ever happen %return; % spead up process [Hxcc,Hycc]=gen_hxhy(H2); ic=find(Hx2