From f5f1a59862b530636aa74987cacce91f3c7efde8 Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" Date: Wed, 24 Feb 2021 14:06:17 +0100 Subject: [PATCH] Debug Scan_Thread_Data --- src/SCAN/Scan_Thread_Data.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SCAN/Scan_Thread_Data.cc b/src/SCAN/Scan_Thread_Data.cc index f75fbcb..e2da0d1 100644 --- a/src/SCAN/Scan_Thread_Data.cc +++ b/src/SCAN/Scan_Thread_Data.cc @@ -29,6 +29,7 @@ namespace ABACUS { { label = RefThread.label; type = RefThread.type; + return *this; } @@ -150,7 +151,7 @@ namespace ABACUS { int il_used = lowest_il_with_nthreads_neq_0; Vect next_in_line(nthreads_total[il_used]); - + // Copy the in-memory threads for (int it = 0; it < nthreads_in_memory[il_used]; ++it) { next_in_line[it] = Scan_Thread(label[il_used][it], type[il_used][it]);