Skip to content

Commit 0ae7a6b

Browse files
fixed a logging message in the structure factor routine
1 parent 0bbc43a commit 0ae7a6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

varipeps/ctmrg/structure_factor_routine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def _ctmrg_body_func_structure_factor(carry):
130130
converged = measure < eps
131131

132132
if logger.isEnabledFor(logging.DEBUG):
133-
jax.debug.callback(lambda cnt, msr: logger.debug(f"CTMRG: Step {cnt}: {msr}"), count, measure, ordered=True)
133+
jdebug.callback(lambda cnt, msr: logger.debug(f"CTMRG: Step {cnt}: {msr}"), count, measure, ordered=True)
134134
if config.ctmrg_verbose_output:
135135
for ti, ctm_enum_i, diff in verbose_data:
136136
debug_print(

0 commit comments

Comments
 (0)