Commit 274f8d2
committed
refactor: replace hardcoded EULER_GAMMA with std::f64::consts::EULER_GAMMA
ocr_felt.rs had a truncated literal (0.5772156649 — 10 digits vs the
full 16). Switching to std::f64::consts::EULER_GAMMA (Rust 1.94+)
fixes the precision and eliminates the hardcoded constant.
https://claude.ai/code/session_019RzHP8tpJu55ESTxhfUy1A1 parent 7caefe9 commit 274f8d2
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments