Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tsdev committed Apr 26, 2017
1 parent 2434933 commit 8d4ba53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swfiles/sw_neutron.m
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
zBM = repmat(n',[1 nHkl]);

if norm(zBM(:,1)'*xBM)/nHkl > 1e-5
warning('sw_neutron:ScatteringPlaneProblem','The normal to the scattering plane is not perpendiculat to Q!');
warning('sw_neutron:ScatteringPlaneProblem','The normal to the scattering plane is not perpendicular to Q!');
end

yBM = cross(zBM,xBM);
Expand Down

0 comments on commit 8d4ba53

Please sign in to comment.