Skip to content

Commit

Permalink
Fix input type for varcount domain setter is not standardised
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed May 1, 2023
1 parent a52a714 commit 6d284d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/adiar/domain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace adiar

shared_ptr<internal::file<domain_var_t>> domain_ptr;

void adiar_set_domain(const size_t varcount) {
void adiar_set_domain(const domain_var_t varcount) {
shared_file<domain_var_t> dom;
{ // Garbage collect writer to free write-lock
internal::file_writer<domain_var_t> lw(dom);
Expand Down
4 changes: 2 additions & 2 deletions src/adiar/domain.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ namespace adiar
using domain_var_t = internal::node::label_t;

//////////////////////////////////////////////////////////////////////////////
/// \brief Set the domain globally for all of Adiar to be [0, varcount).
/// \brief Set the domain globally for all of Adiar to be [*0, varcount*).
//////////////////////////////////////////////////////////////////////////////
void adiar_set_domain(const size_t varcount);
void adiar_set_domain(const domain_var_t varcount);

//////////////////////////////////////////////////////////////////////////////
/// \brief Set the domain globally for all of Adiar.
Expand Down

0 comments on commit 6d284d9

Please sign in to comment.