Skip to content

Cut Kernel Zero Det Check #2126

Description

@jeremylt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions