Add adapt definitions for SparseArrays#91
Conversation
|
Your PR requires formatting changes to meet the project's style guidelines. Click here to view the suggested changes.diff --git a/src/Adapt.jl b/src/Adapt.jl
index fe5f817..9b79755 100644
--- a/src/Adapt.jl
+++ b/src/Adapt.jl
@@ -73,12 +73,12 @@ end
@static if !isdefined(Base, :get_extension)
function __init__()
- @require SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" begin
- include("../ext/AdaptSparseArraysExt.jl")
- end
- @require StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" begin
- include("../ext/AdaptStaticArraysExt.jl")
- end
+ @require SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" begin
+ include("../ext/AdaptSparseArraysExt.jl")
+ end
+ @require StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" begin
+ include("../ext/AdaptStaticArraysExt.jl")
+ end
end
end
|
I don't get this; you're asking for things to become an |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #91 +/- ##
==========================================
- Coverage 93.42% 91.56% -1.86%
==========================================
Files 6 7 +1
Lines 76 83 +7
==========================================
+ Hits 71 76 +5
- Misses 5 7 +2 ☔ View full report in Codecov by Sentry. |
|
|
Closes #90.
With this PR the new behavior is: