Skip to content

deprecated linalg::Make_uniform and linalg::Make_normal#747

Open
manuschneider wants to merge 1 commit intomasterfrom
deprecate_Make_functions
Open

deprecated linalg::Make_uniform and linalg::Make_normal#747
manuschneider wants to merge 1 commit intomasterfrom
deprecate_Make_functions

Conversation

@manuschneider
Copy link
Collaborator

This fixes #746

@manuschneider manuschneider force-pushed the deprecate_Make_functions branch from 5b9a69b to 8b82396 Compare March 16, 2026 15:11
@manuschneider manuschneider force-pushed the deprecate_Make_functions branch from 8b82396 to f4befdf Compare March 16, 2026 15:14
@codecov
Copy link

codecov bot commented Mar 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 35.25%. Comparing base (e87c3a2) to head (f4befdf).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #747      +/-   ##
==========================================
+ Coverage   32.35%   35.25%   +2.90%     
==========================================
  Files         215      214       -1     
  Lines       36363    33091    -3272     
  Branches    14597    13194    -1403     
==========================================
- Hits        11764    11666      -98     
+ Misses      22659    19511    -3148     
+ Partials     1940     1914      -26     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@manuschneider manuschneider added the Pending check/approval Issue fixed, and need feedback label Mar 16, 2026
auto UT = UniTensor(bonds, labels, row_rank, dtype, device, is_diag);
double low = -1000, high = 1000;
int rnd_seed = 0;
random::Make_uniform(UT, low = -1000, high = 1000, rnd_seed);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I remember we don't assure that C++ API is stable. These functions are not bind to Python. We can just remove them without notification.

@ianmccul
Copy link
Contributor

@codex review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Pending check/approval Issue fixed, and need feedback

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate Make_uniform and Make_normal

3 participants