-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid div by zero with test for bad chromaticities in RGBtoXYZ (#1153)
* stop div by zero by catching bad chromaticities Signed-off-by: Peter Hillman <peterh@wetafx.co.nz> * add include to ImfChromaticities for new exception Signed-off-by: Peter Hillman <peterh@wetafx.co.nz> * better detection of division by zero Signed-off-by: Peter Hillman <peterh@wetafx.co.nz>
- Loading branch information
1 parent
91b8969
commit a0cfa81
Showing
1 changed file
with
35 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters