Closed ChrisBuilds closed 3 months ago
Corrects the improper implementation of the iterator protocol wherein index was reset in the __iter__ method of Gradient. __iter__ now returns a generator over Gradient.spectrum.
__iter__
Gradient.spectrum
Corrects the improper implementation of the iterator protocol wherein index was reset in the
__iter__
method of Gradient.__iter__
now returns a generator overGradient.spectrum
.