local copy of row in solver
This commit is contained in:
@@ -47,7 +47,9 @@ struct Solver {
|
||||
}
|
||||
|
||||
__device__
|
||||
void operator()(Row &row) {
|
||||
void operator()(Row &drow) {
|
||||
Row row = drow;
|
||||
|
||||
if (row.r - row.l <= 0) {
|
||||
return;
|
||||
}
|
||||
@@ -68,6 +70,8 @@ struct Solver {
|
||||
row.to = next;
|
||||
}
|
||||
|
||||
drow = row;
|
||||
|
||||
if (row.r - row.l <= 0) {
|
||||
int gen = c_rels[row.rel].gens[row.l & 1];
|
||||
cosets[row.from * c_ngens[0] + gen] = row.to;
|
||||
|
||||
Reference in New Issue
Block a user