Skip to content

Commit

Permalink
Fixed bug in hisq force unitarization
Browse files Browse the repository at this point in the history
  • Loading branch information
maddyscientist committed May 7, 2016
1 parent a242e6d commit aa9b0be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/unitarize_force_quda.cu
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ namespace { // anonymous

getUnitarizeForceSite<double>(result, v, oprod, arg);

arg.force.save((Float*)(oprod.data), idx, dir, parity);
arg.force.save((Float*)(result.data), idx, dir, parity);
} // 4*4528 flops per site
return;
} // getUnitarizeForceField
Expand All @@ -517,7 +517,7 @@ namespace { // anonymous

getUnitarizeForceSite<double>(result, v, oprod, arg);

arg.force.save((Float*)(oprod.data), i, dir, parity);
arg.force.save((Float*)(result.data), i, dir, parity);
}
}
}
Expand Down

0 comments on commit aa9b0be

Please sign in to comment.