Skip to content

Conversation

@ogauthe
Copy link
Collaborator

@ogauthe ogauthe commented Jun 26, 2025

This PR defines specific constructors for FusionTensor: zeros, randn and identity.

Ultimately I defined only 1 identity constructors we may add other later.

@codecov
Copy link

codecov bot commented Jun 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.39%. Comparing base (0244131) to head (3b676a2).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #59      +/-   ##
==========================================
+ Coverage   91.00%   91.39%   +0.38%     
==========================================
  Files          11       11              
  Lines         556      581      +25     
==========================================
+ Hits          506      531      +25     
  Misses         50       50              
Flag Coverage Δ
docs 0.00% <0.00%> (ø)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ogauthe
Copy link
Collaborator Author

ogauthe commented Jun 26, 2025

I do not understand the test failure. I can set compatibility to Random = "1.10", but the current with 1.11 is fine locally.

@mtfishman
Copy link
Member

I do not understand the test failure. I can set compatibility to Random = "1.10", but the current with 1.11 is fine locally.

You should set the test compat entry to Random = "1.10" to allow the tests to run in Julia 1.10.

@mtfishman mtfishman merged commit c345a71 into ITensor:main Jun 27, 2025
13 checks passed
@ogauthe ogauthe deleted the constructors branch June 27, 2025 19:40
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