diff options
| author | batsumaru <> | 2026-08-09 17:42:32 +0900 |
|---|---|---|
| committer | batsumaru <> | 2026-08-09 17:42:32 +0900 |
| commit | cef49d4a396866fb5eef9ffa7a5a54b3bc0cb8af (patch) | |
| tree | 59f7de1514dcb3d36349cad4d7689be44167402f /include | |
| parent | 653ebf6675f42dde3cbda1fc088f84a7264ec013 (diff) | |
Fixed namespace inconsistency
Diffstat (limited to 'include')
| -rw-r--r-- | include/fixed_point.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fixed_point.h b/include/fixed_point.h index 9df6376..385ccc2 100644 --- a/include/fixed_point.h +++ b/include/fixed_point.h @@ -5,8 +5,8 @@ #include <type_traits> struct fp_t { - static constexpr int32_t Q = 16; - static constexpr int32_t K = 1 << (Q - 1); + static constexpr std::int32_t Q = 16; + static constexpr std::int32_t K = 1 << (Q - 1); std::int32_t raw; static constexpr fp_t from_raw(std::int32_t r) { return fp_t{r}; } |
