mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Make `Optional` conditionally conform to `Differentiable` when the `Wrapped` type does. `Optional.TangentVector` is a wrapper around `Wrapped.TangentVector?`. Also, fix `Array.TangentVector.zeroTangentVectorInitializer`. Resolves TF-1301.
14 KiB
14 KiB