Skip to content

Warn in case of real environments in :fixed mode#102

Merged
pbrehmer merged 2 commits intomasterfrom
pb-fix-real-envs
Dec 3, 2024
Merged

Warn in case of real environments in :fixed mode#102
pbrehmer merged 2 commits intomasterfrom
pb-fix-real-envs

Conversation

@pbrehmer
Copy link
Collaborator

@pbrehmer pbrehmer commented Dec 3, 2024

Catches the issue with real-valued environments and the fixed optimization mode, detected in #100. Thanks to @Yue-Zhengyuan for finding this!

@pbrehmer pbrehmer requested a review from lkdvos December 3, 2024 16:15
@pbrehmer
Copy link
Collaborator Author

pbrehmer commented Dec 3, 2024

I still need to add the actual full-infinite environment contractions, then I'll merge the CTMRG refactor once that's pushed and reviewed.

@codecov
Copy link

codecov bot commented Dec 3, 2024

Codecov Report

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

Files with missing lines Patch % Lines
src/algorithms/peps_opt.jl 33.33% 2 Missing ⚠️
src/environments/ctmrg_environments.jl 0.00% 2 Missing ⚠️
Files with missing lines Coverage Δ
src/algorithms/peps_opt.jl 92.85% <33.33%> (-1.64%) ⬇️
src/environments/ctmrg_environments.jl 67.33% <0.00%> (-0.91%) ⬇️

@pbrehmer pbrehmer merged commit 36973e7 into master Dec 3, 2024
@pbrehmer pbrehmer deleted the pb-fix-real-envs branch December 3, 2024 20:39
Yue-Zhengyuan pushed a commit to Yue-Zhengyuan/PEPSKit.jl that referenced this pull request Dec 5, 2024
Warn in case of real environments in `:fixed` mode
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