We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05f2c49 commit 20ca946Copy full SHA for 20ca946
stdlib/public/Differentiation/ArrayDifferentiation.swift
@@ -16,8 +16,7 @@ import Swift
16
// Protocol conformances
17
//===----------------------------------------------------------------------===//
18
19
-// TODO(TF-938): Add `Element: Differentiable` requirement.
20
-extension Array {
+extension Array where Element: Differentiable {
21
/// The view of an array as the differentiable product manifold of `Element`
22
/// multiplied with itself `count` times.
23
@frozen
0 commit comments