Skip to content

Define best_ahc_ext_lambd#5

Open
pedromxavier wants to merge 1 commit intomcmahon-lab:mainfrom
pedromxavier:patch-1
Open

Define best_ahc_ext_lambd#5
pedromxavier wants to merge 1 commit intomcmahon-lab:mainfrom
pedromxavier:patch-1

Conversation

@pedromxavier
Copy link

This fixes a corner case where condition in line

if np.amin(test_batch[3])/rand_scaling < best_energy:
is not met and variable best_ahc_ext_lambd is not defined, causing an error upon the following print(...format(...)).

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.

1 participant