Skip to content

Commit

Permalink
Make format happy
Browse files Browse the repository at this point in the history
  • Loading branch information
iomaganaris committed Nov 6, 2023
1 parent f352e04 commit b2db303
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/codegen/codegen_coreneuron_cpp_visitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1683,10 +1683,10 @@ void CodegenCoreneuronCppVisitor::print_sdlists_init(bool print_initializers) {
return size += symbol->get_length();
};
const auto prime_variables_by_order_size =
std::accumulate(info.prime_variables_by_order.begin(),
info.prime_variables_by_order.end(),
0,
count_prime_variables);
std::accumulate(info.prime_variables_by_order.begin(),
info.prime_variables_by_order.end(),
0,
count_prime_variables);
if (info.primes_size != prime_variables_by_order_size) {
throw std::runtime_error{
fmt::format("primes_size = {} differs from prime_variables_by_order.size() = {}, "
Expand Down

0 comments on commit b2db303

Please sign in to comment.