AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO
Allow more tolerance in pair inverse detection
Open
Bug
- Dominant language
- C++
- Stars
- 2.1k
- Forks
- 503
- PR merge metrics
- No merged PRs in 30d
Description
The optimizer will remove pairs of adjacent ops that are inverses of each other. However, the comparison is probably more strict than it needs to be. For example these ops are not removed:
```
```
This is especially problematic since the CTF writer will output the param from line 2 as the value from line 1.
The tolerance for making these comparisons should be increased slightly.
Contributor guide
Assessment
This issue has not been assessed yet.