Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
Fixing test value
Browse files Browse the repository at this point in the history
  • Loading branch information
lemmatum committed May 1, 2018
1 parent 00b0aa4 commit ba5eb95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SpectroscoPyx/diagnostics/optics/tests/test_dispersive.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_typical_angle(self):
Checks whether function returns expected value for a typical
crystal and photon configuration.
"""
angleTrue = 0.6743974698099433 * u.rad
angleTrue = 0.67439747 * u.rad
angle = bragg_angle(d_lattice=self.d_lattice,
wavelength=self.wavelength,
order=1)
Expand All @@ -28,4 +28,4 @@ def test_typical_angle(self):
assert np.isclose(angle.value,
angleTrue.value,
rtol=1e-8,
atol=0.0), errStr
atol=0.0), errStr

0 comments on commit ba5eb95

Please sign in to comment.