If we 'require' something, then the failed condition should trigger the error message, not the success. This small change brings the code in line with the documentation and my understanding of the intent of the REQUIRE macros.
PR Checklist
[x] Any changes to code are appropriately documented.
[x] Code is formatted.
[x] Install test passes.
[x] Docs build.
N/A If preparing for a new release, update the version in cmake.
PR Summary
If we 'require' something, then the failed condition should trigger the error message, not the success. This small change brings the code in line with the documentation and my understanding of the intent of the
REQUIRE
macros.PR Checklist