From f514ba0acd32394039ba3b041c70c222e549989e Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Tue, 4 Jun 2019 18:11:50 +0200 Subject: [PATCH] Fixed bug in deterministic variance --- src/cipsi/run_selection_slave.irp.f | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cipsi/run_selection_slave.irp.f b/src/cipsi/run_selection_slave.irp.f index ee97eb20..c1542445 100644 --- a/src/cipsi/run_selection_slave.irp.f +++ b/src/cipsi/run_selection_slave.irp.f @@ -230,6 +230,8 @@ subroutine pull_selection_results(zmq_socket_pull, pt2, variance, norm, val, det endif else pt2(:) = 0.d0 + variance(:) = 0.d0 + norm(:) = 0.d0 endif rc = f77_zmq_recv( zmq_socket_pull, ntask, 4, 0)