Skip to content

Type 'SIMD2<Scalar>' does not conform to protocol 'SIMDVectorType' and 'VectorType' #10

@adrwz

Description

@adrwz

I'm getting an issue in Vector.swift where double2, double3, and double4 are raising problems with SIMDVectorType and VectorType. The entire program does not compile, and the errors are raised within the pod itself.

These errors are being raised in every one of the extensions: double2, double3, and double4. Two errors per. Here's one of the error messages:

[...]/Pods/YetAnotherAnimationLibrary/Sources/Types & Operators/Vector.swift:87:1: Type 'SIMD2<Scalar>' does not conform to protocol 'VectorType'

It's also displaying this information underneath the error message:

[...]/Pods/YetAnotherAnimationLibrary/Sources/Types & Operators/Vector.swift:46:17: Multiple matching functions named '/' with type '(SIMD2<Scalar>, Double) -> SIMD2<Scalar>'

Any idea how I can fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions