[PyROOT] Compare floating point numbers from numba with isclose#994
Conversation
This will fix the test on macOS with LLVM 16 where interpreted code makes use of fma instructions that yield slightly different results.
|
Starting build on |
|
|
||
| assert (False not in | ||
| tuple(x == y for x, y in numba_calc_pt_vec(vec_lv))) | ||
| tuple(math.isclose(x, y) for x, y in numba_calc_pt_vec(vec_lv))) |
There was a problem hiding this comment.
E501: line too long (80 > 79 characters)
ℹ️ Expand to see all @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
| Command | Usage |
|---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
|
Build failed on ROOT-ubuntu2204/nortcxxmod. |
|
Build failed on ROOT-debian10-i386/soversion. Errors:
|
This will fix the test on macOS with LLVM 16 where interpreted code makes use of fma instructions that yield slightly different results.