Error: cannot find 'Augmented' in scope

Hi All, I did a pull from main this morning and the module no longer builds. The file ElementaryFunctions.swift uses type Augmented but it does not appear to be in the source anywhere. Anyone else hit this problem?

[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)

Fixed here: https://github.com/apple/swift-numerics/pull/164

Terms of Service

Privacy Policy

Cookie Policy