Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed error condition
  • Loading branch information
hkaiser committed May 15, 2017
1 parent da5d22c commit 73d2594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/actions/detail/action_factory.cpp
Expand Up @@ -143,7 +143,7 @@ namespace hpx { namespace actions { namespace detail
}

ctor_t ctor = this_.cache_[id];
if (ctor != nullptr)
if (ctor == nullptr)
{
std::string msg("Unknown type descriptor " + std::to_string(id));
#if defined(HPX_DEBUG)
Expand Down

0 comments on commit 73d2594

Please sign in to comment.