Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 0e97b62

Browse files
committed
Fix clang compilation.
1 parent 7fbdcad commit 0e97b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/solver/test_solver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ struct SetupThreads {
196196
}
197197

198198
auto dump_solver_data() {
199-
std::vector<SolverData> ret{nrn_nthread};
199+
std::vector<SolverData> ret{static_cast<std::size_t>(nrn_nthread)};
200200
// Sync the solver data from GPU to host
201201
update_nrnthreads_on_host(nrn_threads, nrn_nthread);
202202
// Un-permute the data in and store it in ret.{d,parent_index,rhs}

0 commit comments

Comments
 (0)