mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Implement correct zero tangent vector, i.e. empty array [], handling during the backward pass of Array.DifferentiableView.+ and move methods. The precondition is no longer triggered by .zero/empty arrays. Fixes SR-14297
14 KiB
14 KiB