|
@@ -29,6 +29,7 @@ namespace ABACUS {
|
29
|
29
|
{
|
30
|
30
|
label = RefThread.label;
|
31
|
31
|
type = RefThread.type;
|
|
32
|
+ return *this;
|
32
|
33
|
}
|
33
|
34
|
|
34
|
35
|
|
|
@@ -150,7 +151,7 @@ namespace ABACUS {
|
150
|
151
|
|
151
|
152
|
int il_used = lowest_il_with_nthreads_neq_0;
|
152
|
153
|
Vect<Scan_Thread> next_in_line(nthreads_total[il_used]);
|
153
|
|
-
|
|
154
|
+
|
154
|
155
|
// Copy the in-memory threads
|
155
|
156
|
for (int it = 0; it < nthreads_in_memory[il_used]; ++it) {
|
156
|
157
|
next_in_line[it] = Scan_Thread(label[il_used][it], type[il_used][it]);
|