Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
adrwz opened this issue Sep 27, 2019 · 0 comments

Comments

@adrwz
Copy link

adrwz commented Sep 27, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant