apple / swift-numerics

Advanced mathematical types and functions for Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: cannot find 'Augmented' in scope

ewconnell opened this issue · comments

The current main branch does not seem to build. The file ElementaryFunctions.swift has errors

[build] /home/ed/swiftrt/build/swift-numerics-prefix/src/swift-numerics/Sources/ComplexModule/ElementaryFunctions.swift:304:17: error: cannot find 'Augmented' in scope
[build]     let (a,b) = Augmented.twoProdFMA(u, u)
[build]                 ^~~~~~~~~
[build] /home/ed/swiftrt/build/swift-numerics-prefix/src/swift-numerics/Sources/ComplexModule/ElementaryFunctions.swift:305:17: error: cannot find 'Augmented' in scope
[build]     let (c,d) = Augmented.twoProdFMA(v, v)
[build]                 ^~~~~~~~~
[build] /home/ed/swiftrt/build/swift-numerics-prefix/src/swift-numerics/Sources/ComplexModule/ElementaryFunctions.swift:310:17: error: cannot find 'Augmented' in scope
[build]     var (s,e) = Augmented.fastTwoSum(-1, a)
[build]                 ^~~~~~~~~
[build] /home/ed/swiftrt/build/swift-numerics-prefix/src/swift-numerics/Sources/ComplexModule/ElementaryFunctions.swift:344:15: error: cannot find 'Augmented' in scope
[build]     let xp2 = Augmented.fastTwoSum(2, z.x) // Known that 2 > |x|.
[build]               ^~~~~~~~~
[build] /home/ed/swiftrt/build/swift-numerics-prefix/src/swift-numerics/Sources/ComplexModule/ElementaryFunctions.swift:345:13: error: cannot find 'Augmented' in scope
[build]     let a = Augmented.twoProdFMA(z.x, xp2.head)
[build]             ^~~~~~~~~
[build] /home/ed/swiftrt/build/swift-numerics-prefix/src/swift-numerics/Sources/ComplexModule/ElementaryFunctions.swift:346:15: error: cannot find 'Augmented' in scope
[build]     let y² = Augmented.twoProdFMA(z.y, z.y)

Is this a CMake build or a swiftpm?

(Assuming CMake, probably fixed by #164)

I'm doing a cmake build

OK to close this?

Yes!