Skip to content
This repository was archived by the owner on Jan 8, 2026. It is now read-only.

Add DefaultArrayInterface methods#11

Merged
mtfishman merged 5 commits intoITensor:mainfrom
lkdvos:ld-errors
Jan 13, 2025
Merged

Add DefaultArrayInterface methods#11
mtfishman merged 5 commits intoITensor:mainfrom
lkdvos:ld-errors

Conversation

@lkdvos
Copy link
Contributor

@lkdvos lkdvos commented Jan 10, 2025

This PR adds some missing implementations for DefaultArrayInterface, which are not defined for AbstractArrayInterface.

Additionally, it closes #10 to make the tests pass, and updates the skeleton to make the tests run.

@codecov
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 20.00000% with 8 lines in your changes missing coverage. Please review.

Project coverage is 38.41%. Comparing base (bb982a0) to head (511ad30).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/defaultarrayinterface.jl 0.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
- Coverage   39.61%   38.41%   -1.20%     
==========================================
  Files           9        9              
  Lines         308      315       +7     
==========================================
- Hits          122      121       -1     
- Misses        186      194       +8     
Flag Coverage Δ
docs 37.26% <10.00%> (-1.18%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@lkdvos
Copy link
Contributor Author

lkdvos commented Jan 13, 2025

Also fixes #10

@lkdvos lkdvos requested a review from mtfishman January 13, 2025 21:31
Copy link
Member

@mtfishman mtfishman left a comment

Choose a reason for hiding this comment

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

Looks good to me, feel free to merge.

@lkdvos
Copy link
Contributor Author

lkdvos commented Jan 13, 2025

(I still don't have the right privileges to do this)

@mtfishman mtfishman merged commit d760a1f into ITensor:main Jan 13, 2025
9 of 11 checks passed
@lkdvos lkdvos deleted the ld-errors branch January 13, 2025 22:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] @interface A[i] = v changes output

2 participants