Closed joshuakraemer closed 3 years ago
your input is a vector, but all colorimetric data in luxpy is always either 2D or 3D arrays with the actual colorimetric values on the last axis.
Calling luxpy.color.cam.zcam(numpy.array([[10, 20, 30]]))
works without a problem.
Thanks and sorry for the mistake!
Calling
luxpy.color.cam.zcam(numpy.array([10, 20, 30]))
results in the errorUnboundLocalError: local variable 'dotAB' referenced before assignment
. The traceback points to function "dot23()". The reason for this error seems to be that all assignments of the returned variable "dotAB" are behind if conditions.