Closed KelSolaar closed 8 months ago
Something is broken, I will take a look tonight!
@KelSolaar While you are looking at this can you also check that the ArrayLike
inputs actually get converted to an array before the caching check in sd_to_XYZ
? I noticed that if you pass in a list[float]
the method fails. I think it just needs an asarray
somewhere before calling tobytes()
(when xxhash is installed)
Should be done!
Going to merge this one @tjdcs!
Summary
This PR ensures that the
shape
argument, if passed, is also used to reshape thecolour.continuous.AbstractContinuousSignal
sub-classes incolour.colorimetry.sd_to_XYZ_integration
definition.References #1247.
Preflight
Code Style and Quality
colour
,colour.models
.Documentation