Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 1, 2024
1 parent 3377bd3 commit 6765402
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/helics/application_api/Subscriptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ class VectorSubscription2d {
static_assert(
std::is_base_of<ValueFederate, std::remove_reference_t<decltype(*valueFed)>>::value,
"Second argument must be a pointer to a ValueFederate");
std::size_t arrayCount=static_cast<std::size_t>(count_x) * static_cast<std::size_t>(count_y);
std::size_t arrayCount =
static_cast<std::size_t>(count_x) * static_cast<std::size_t>(count_y);
ids.reserve(arrayCount);
vals.resizea(arrayCount, defValue);

Expand Down

0 comments on commit 6765402

Please sign in to comment.