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

fix: don't use similar on prototype #474

Merged
merged 3 commits into from
Oct 5, 2024
Merged

fix: don't use similar on prototype #474

merged 3 commits into from
Oct 5, 2024

Conversation

avik-pal
Copy link
Member

@avik-pal avik-pal commented Oct 5, 2024

No description provided.

@gdalle
Copy link
Collaborator

gdalle commented Oct 5, 2024

I have opened JuliaDiff/DifferentiationInterface.jl#544 to discuss if the same should be done for DI

@gdalle
Copy link
Collaborator

gdalle commented Oct 5, 2024

As shown in that issue, you take a possibly big performance hit by using your copy. I think it would make more sense to fix the similar semantics for banded arrays

@avik-pal
Copy link
Member Author

avik-pal commented Oct 5, 2024

Specifically this is for FastAlmostBandedMatrices and not BandedMatrices

@gdalle
Copy link
Collaborator

gdalle commented Oct 5, 2024

See, this is so specific I don't think it warrants a performance and generality decrease overall

@ChrisRackauckas
Copy link
Member

Whether this is done or not, FastAlmostBandedMatrices should fix its similar dispatch.

@avik-pal
Copy link
Member Author

avik-pal commented Oct 5, 2024

@ChrisRackauckas ChrisRackauckas merged commit e7e218b into master Oct 5, 2024
32 of 36 checks passed
@ChrisRackauckas ChrisRackauckas deleted the ap/patch branch October 5, 2024 21:12
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.

3 participants