Bug Description: What's going wrong?
I was unable to compile this header with Clang-23:
|
if (det < 1.0e-16 && det > 1.0e-16) |
I got the warning that the condition if (det < 1.0e-16 && det > 1.0e-16) will never be true. That definitely seems to be true to me.
Expectations
Code should compile
Possible Solution
Is this intended to be if (det < 1.0e-16 && det > -1.0e-16)?
Steps to Reproduce
Attempt to compile with Clang-23
Your Environment
I am building from this branch, which appears to be up to date with the main branch: #2012
Bug Description: What's going wrong?
I was unable to compile this header with Clang-23:
4C/src/cut/4C_cut_kernel.hpp
Line 2203 in 46ea0a7
I got the warning that the condition
if (det < 1.0e-16 && det > 1.0e-16)will never be true. That definitely seems to be true to me.Expectations
Code should compile
Possible Solution
Is this intended to be
if (det < 1.0e-16 && det > -1.0e-16)?Steps to Reproduce
Attempt to compile with Clang-23
Your Environment
I am building from this branch, which appears to be up to date with the main branch: #2012