Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
astro-friedel committed Sep 21, 2023
1 parent 95904c6 commit 430b9ab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion communication/communicators/CommBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ bool Comm_t::get_global_scope_comm() {
if (!model_name)
model_name = std::getenv("YGG_SERVER_INPUT");
}
assert(model_name);
if (model_name)
global_name.assign(model_name);
global_scope_comm = 1;
Expand Down
2 changes: 1 addition & 1 deletion test/unittest/mock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ ::zmq::detail::trivial_optional<size_t> recv_multipart(::zmq::socket_ref, Output
return -1;
}
void *zmq_socket (void *, int) {
assert(RETVAL_CREATE < 0);
assert(RETVAL_CREATE <= 0);
return NULL;
}
int zmq_connect (void *, const char *) {
Expand Down

0 comments on commit 430b9ab

Please sign in to comment.