Skip to content

Commit

Permalink
fixing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Aug 27, 2024
1 parent 24305ab commit 6a7f00d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ endif ()

set (THALLIUM_VERSION_MAJOR 0)
set (THALLIUM_VERSION_MINOR 14)
set (THALLIUM_VERSION_PATCH 0)
set (THALLIUM_VERSION_PATCH 1)
set (thallium-vers "${THALLIUM_VERSION_MAJOR}.${THALLIUM_VERSION_MINOR}")
set (THALLIUM_VERSION "${thallium-vers}.${THALLIUM_VERSION_PATCH}")
math (EXPR THALLIUM_VERSION_NUM "${THALLIUM_VERSION_MAJOR}*1000000 + ${THALLIUM_VERSION_MINOR}*1000 + ${THALLIUM_VERSION_PATCH}")
Expand Down
2 changes: 1 addition & 1 deletion include/thallium/engine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class engine : public margo_instance_ref {
const margo_init_info* args)
{
m_mid = margo_init_ext(addr.c_str(), mode, args);
if(m_mid)
if(!m_mid)
MARGO_THROW(margo_init_ext, HG_OTHER_ERROR, "Could not initialize Margo");
margo_instance_ref_incr(m_mid);
}
Expand Down

0 comments on commit 6a7f00d

Please sign in to comment.