Skip to content

Commit 3ea2c5a

Browse files
committed
#14: test_harness: fix bug--not using this->comm causes failure to compile
1 parent c0520f7 commit 3ea2c5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_helpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ inline std::string getUniqueFilename(const std::string& ext = "") {
131131
*/
132132
#define SET_MIN_NUM_NODES_CONSTRAINT(min_req_num_nodes) \
133133
{ \
134-
auto const num_nodes = comm.numRanks(); \
134+
auto const num_nodes = this->comm.numRanks(); \
135135
if (num_nodes < min_req_num_nodes) { \
136136
GTEST_SKIP() << fmt::format( \
137137
"Skipping the run on {} nodes. This test should run on at least {} "\

0 commit comments

Comments
 (0)