AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO

Allow more tolerance in pair inverse detection

Open
#1,970 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.