Commit f35b36a
committed
Fix three CodeRabbit-flagged bugs in THINC compression
- m_weno.fpp: add missing 'use m_nvtx' for nvtxStartRange/nvtxEndRange calls
- m_thinc.fpp: clamp atanh argument in f_log_cosh_diff to avoid Inf/NaN when
tanh saturates to ±1 on sharp interfaces
- m_checker.fpp: prohibit muscl_order==1 with int_comp>0 (uninitialized workspace)1 parent 3e3661c commit f35b36a
3 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments