Skip to content

Commit b3c1e9a

Browse files
authored
Fix printing only on the master rank (#1268)
Regression introduced in a1308a1.
1 parent 77d57ba commit b3c1e9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/response/hessian.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function ResponseCallback()
8282
ResponseCallback(Ref(zero(UInt64)))
8383
end
8484
function (cb::ResponseCallback)(info)
85-
mpi_master(info.basis.comm_kpts) && return info # Only print on master
85+
mpi_master(info.basis.comm_kpts) || return info # Only print on master
8686

8787
if info.stage == :finalize
8888
info.converged || @warn "solve_ΩplusK not converged."

0 commit comments

Comments
 (0)