Skip to content

Commit

Permalink
Fixed bug with max_wavelength property.
Browse files Browse the repository at this point in the history
  • Loading branch information
CnlPepper committed Mar 17, 2017
1 parent 73374cf commit f68b5b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions raysect/optical/ray.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ cdef class Ray(CoreRay):
def max_wavelength(self):
return self._max_wavelength

@max_wavelength.setter
def max_wavelength(self, double max_wavelength):

if max_wavelength <= 0.0:
Expand Down

0 comments on commit f68b5b8

Please sign in to comment.