Skip to content

Commit 021c361

Browse files
committed
fix: remove init vjp due to compiler issue
This can be reactivated in Swift 6.3
1 parent 82e8971 commit 021c361

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/Differentiation/InlineArray+Differentiation.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ extension InlineArray: @retroactive Differentiable where Element: Differentiable
1313
}
1414
}
1515

16+
// not available yet due to a compiler issue. This is in main as of 2025/05/25. Part of Swift 6.3
17+
/*
1618
@derivative(of: init)
1719
@_alwaysEmitIntoClient
1820
public static func _vjpInit(repeating value: Element) -> (value: Self, pullback: (TangentVector) -> Element.TangentVector) {
@@ -27,6 +29,7 @@ extension InlineArray: @retroactive Differentiable where Element: Differentiable
2729
}
2830
)
2931
}
32+
*/
3033

3134
@inlinable
3235
public func read(_ i: Index) -> Element {

0 commit comments

Comments
 (0)