Skip to content

Commit

Permalink
Merge pull request #30 from Klabautergans/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
ksmet1977 authored Mar 24, 2024
2 parents de1636a + 86b370b commit beae81e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luxpy/color/cri/iestm30/metrics_fast.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def _cri_ref_i(cct, wl3 = _WL, ref_type = 'iestm30', mix_range = [4000,5000],

if (cct < mix_range[0]) | (ref_type == 'BB'):
return blackbody(cct, wl3, n = n)
elif (cct > mix_range[0]) | (ref_type == 'DL'):
elif (cct > mix_range[1]) | (ref_type == 'DL'):
return daylightphase(cct,wl3,force_daylight_below4000K = force_daylight_below4000K, cieobs = cieobs, daylight_locus = daylight_locus)
else:
SrBB = blackbody(cct, wl3, n = n)
Expand Down

0 comments on commit beae81e

Please sign in to comment.