Skip to content

The compiler is unable to type-check this expression #2

@roberto-donext

Description

@roberto-donext

In ViewController, line 80:
The line:
let rms = sqrt(channelDataValueArray.map{ $0 * $0 }.reduce(0, +) / Float(buffer.frameLength))
Fails with:
The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions