2
0
Fork 0

Debug Scan_Thread_Data

Dieser Commit ist enthalten in:
J.-S. Caux 2021-02-24 14:06:17 +01:00
Ursprung 5d7ec1699d
Commit f5f1a59862
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -29,6 +29,7 @@ namespace ABACUS {
{ {
label = RefThread.label; label = RefThread.label;
type = RefThread.type; type = RefThread.type;
return *this;
} }
@ -150,7 +151,7 @@ namespace ABACUS {
int il_used = lowest_il_with_nthreads_neq_0; int il_used = lowest_il_with_nthreads_neq_0;
Vect<Scan_Thread> next_in_line(nthreads_total[il_used]); Vect<Scan_Thread> next_in_line(nthreads_total[il_used]);
// Copy the in-memory threads // Copy the in-memory threads
for (int it = 0; it < nthreads_in_memory[il_used]; ++it) { 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]); next_in_line[it] = Scan_Thread(label[il_used][it], type[il_used][it]);