Skip to content

Commit

Permalink
🎨 solve bitwise '|' with boolean operands warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Drewniok committed Sep 6, 2023
1 parent 45cdcfd commit 9f01017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/io/write_location_and_ground_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ TEST_CASE("writes expected output", "[write_txt_sim_result]")
1.920;0.000;0;-1;
3.072;0.000;-1;-1;)";

REQUIRE(compare_output(ss.str(), expected_output) | compare_output(ss.str(), expected_output_second));
REQUIRE((compare_output(ss.str(), expected_output) || compare_output(ss.str(), expected_output_second)));
}

SECTION("Output is written to ostream correctly, unique GS")
Expand Down

0 comments on commit 9f01017

Please sign in to comment.