FillArrays.jl icon indicating copy to clipboard operation
FillArrays.jl copied to clipboard

fix #178

Open putianyi889 opened this issue 1 year ago • 6 comments

putianyi889 avatar Jan 30 '24 08:01 putianyi889

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.91%. Comparing base (90ef3ce) to head (f608d1b). Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #343   +/-   ##
=======================================
  Coverage   99.91%   99.91%           
=======================================
  Files           8        8           
  Lines        1141     1143    +2     
=======================================
+ Hits         1140     1142    +2     
  Misses          1        1           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Jan 30 '24 08:01 codecov[bot]

apparently Julia 1.6 doesn't have package extensions

putianyi889 avatar Jan 30 '24 09:01 putianyi889

This should be included directly on Julia 1.6

jishnub avatar Jan 30 '24 09:01 jishnub

is it possible to have dependency that depends on julia version?

putianyi889 avatar Jan 30 '24 10:01 putianyi889

This should work already, see https://github.com/JuliaArrays/FillArrays.jl/blob/1788108049c6c105fd4a2ea76490930be812355a/src/FillArrays.jl#L673-L677 The test failure on v1.6 appears to be because SparseArrays on that version limits dot to arrays of numbers, which leads to an ambiguity.

jishnub avatar Jan 30 '24 10:01 jishnub

@jishnub do we test for Ambiguities in FillArrays ? maybe we could check if PRs of this style don't add new ambiguities. other than that, the fix seems good to add.

longemen3000 avatar Mar 01 '24 20:03 longemen3000