Skip to content

Commit

Permalink
Fixing error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Jul 6, 2017
1 parent 46d6021 commit cdaac22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/performance_counters/server/arithmetics_counter.cpp
Expand Up @@ -394,7 +394,7 @@ namespace hpx { namespace performance_counters { namespace detail

if (paths.countername_ == "divide")
{
if (names.size() < 1)
if (names.size() < 2)
{
HPX_THROWS_IF(ec, bad_parameter,
"arithmetics_counter_creator",
Expand Down

0 comments on commit cdaac22

Please sign in to comment.