Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error message for bad time step inputs #112

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

ryanlevy
Copy link
Contributor

Closes #111, makes sure the number of steps passed to alternating update is positive

@mtfishman
Copy link
Member

Thanks @ryanlevy, could you add a test checking that bad inputs throw an error? (You can use @test_throws for that in case you didn't know.)

Copy link

codecov bot commented Jan 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@64a7dcb). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #112   +/-   ##
=======================================
  Coverage        ?   90.23%           
=======================================
  Files           ?       56           
  Lines           ?     3584           
  Branches        ?        0           
=======================================
  Hits            ?     3234           
  Misses          ?      350           
  Partials        ?        0           

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

@mtfishman mtfishman changed the title Add new tdvp warning Better error message for bad time step inputs Jan 31, 2025
@mtfishman mtfishman merged commit 2f17929 into ITensor:main Jan 31, 2025
10 of 11 checks passed
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.

Difficult error message for wrong sign of time in TDVP
2 participants