Skip to content
Snippets Groups Projects
Commit aa3ed4da authored by preischig's avatar preischig
Browse files

gtIndexFwdSimPairs: gives warning instead of error for missing reflections

parent 06f6c4a7
No related branches found
No related tags found
No related merge requests found
......@@ -119,8 +119,9 @@ for ii = 1:length(grain)
% Check if all reflections occur
noref = any(isnan(om4), 1);
if any(noref)
msg = sprintf('No reflection was predicted for some pairs in grain #%d', ii);
error(msg)
fprintf('No reflection was predicted for some pairs in grain #%d\n', ii)
disp(' This may be due to undefined (hkl) values from matching')
disp(' when theta angles of two or more {hkl} families are close.')
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment