aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2019-04-20 14:24:53 +0200
committerTom Smeding <tom.smeding@gmail.com>2019-04-20 14:24:53 +0200
commit4cde8f76d5dd3b27f91249efbf6a48be90603982 (patch)
treef11b0ec1d40c169b9ee918a14695e4f0288f4e06
parent725f9dec4e7927297938ee99faa5400d9af3be9f (diff)
Compile using nvcc
-rw-r--r--aberth/aberth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/aberth/aberth.cpp b/aberth/aberth.cpp
index 02768e2..30f40f6 100644
--- a/aberth/aberth.cpp
+++ b/aberth/aberth.cpp
@@ -283,7 +283,7 @@ static tuple<int, int, vector<int>> computeCounts() {
nextDerbyshire(poly);
}
- lock_guard guard(countsMutex);
+ lock_guard<mutex> guard(countsMutex);
for (int i = 0; i < W * H; i++) counts[i] += localCounts[i];
});
}