Skip to content

Conversation

@lgoettgens
Copy link
Member

there is too much code that directly accesses entries using numerical indices e.g. in (::MatrixSpace)(::AbstractMatrix)

@codecov
Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.15%. Comparing base (f6868d0) to head (8f17985).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1879   +/-   ##
=======================================
  Coverage   88.15%   88.15%           
=======================================
  Files         120      120           
  Lines       30252    30252           
=======================================
  Hits        26670    26670           
  Misses       3582     3582           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

end

function _check_dim(r::Int, c::Int, arr::AbstractMatrix{T}, transpose::Bool = false) where {T}
Base.require_one_based_indexing(arr)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are not official API. OTOH that hasn't stopped us is in other cases...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are in julia nightly. See JuliaLang/julia#56196

@fingolfin fingolfin merged commit 129efd6 into Nemocas:master Oct 27, 2024
29 checks passed
@lgoettgens lgoettgens deleted the lg/require_one_based_indexing branch October 27, 2024 16:02
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.

2 participants