Skip to content
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

Dispatch on StaticArray instead of SArray #383

Merged
merged 1 commit into from Feb 16, 2019
Merged

Dispatch on StaticArray instead of SArray #383

merged 1 commit into from Feb 16, 2019

Conversation

devmotion
Copy link
Member

Currently only SArrays are supported and no other StaticArrays such as SLArrays (https://github.com/JuliaDiffEq/LabelledArrays.jl). Together with a similar PR to DiffResults this seems to fix issues I experienced with SLArrays without breaking existing SArray support. However, since we do not dispatch on the mutability of the static arrays unfortunately even DiffResults for mutable static arrays such as MArray will be immutable.

@ChrisRackauckas
Copy link
Member

It also should fix FieldVector

@devmotion
Copy link
Member Author

devmotion commented Feb 4, 2019

Test errors are fixed by JuliaDiff/DiffResults.jl#7.

@devmotion
Copy link
Member Author

Since JuliaDiff/DiffResults.jl#7 was merged and released, tests should pass with the latest version of DiffResults

@jrevels
Copy link
Member

jrevels commented Feb 12, 2019

I've re-triggered CI, fingers crossed 🙂

@devmotion
Copy link
Member Author

devmotion commented Feb 13, 2019

Hmm... It seems the test errors on Windows are not related to this PR?

@ChrisRackauckas
Copy link
Member

yup looks like #387

@KristofferC
Copy link
Collaborator

KristofferC commented Feb 13, 2019

Huh? How is that related?

This looks like a tolerance error?

@ChrisRackauckas
Copy link
Member

Oh I thought the purpose of that was to update AppVeyor and fix Win32 tests. I don't know why I thought the latter part.

@jrevels
Copy link
Member

jrevels commented Feb 16, 2019

Yup, windows issues are unrelated to this PR

@jrevels jrevels merged commit 52f4be7 into JuliaDiff:master Feb 16, 2019
@devmotion devmotion deleted the staticarray branch February 17, 2019 01:11
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

Successfully merging this pull request may close these issues.

None yet

4 participants