swift
04dca63e - [AutoDiff] Fix activity analysis use-after-free crash. (#28285)

Commit
6 years ago
[AutoDiff] Fix activity analysis use-after-free crash. (#28285) Remove `DifferentiableActivityInfo::getLookupConformanceFunction`, which returned a `LookupConformanceFn` (type alias for `LookupConformanceFn`), which does not own the underlying callable. Add a `DifferentiableActivityInfo::hasTangentSpace` helper, which is easier to use and avoids the issue. Resolves TF-945.
Author
Parents
Loading