mirror of
https://github.com/apple/swift-numerics
synced 2026-11-27 05:04:26 +00:00
Add Swift version check for differentiable features.
This commit is contained in:
1 parent
44cb9f2d4a
commit
1ec79f5270
3 files changed
+11
-13
No files matched your search
@@ -9,7 +9,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if canImport(_Differentiation)
|
||||
#if swift(>=5.3) && canImport(_Differentiation)
|
||||
import _Differentiation
|
||||
|
||||
extension Complex: Differentiable
|
||||
|
||||
Reference in new issue
Block a user