Remove wrong usage of `noexcept`

I have no idea why I added this.
This commit is contained in:
Locria Cyber 2023-08-24 15:44:42 +00:00
parent 0b0d2c2f93
commit 8d3173d1a4
No known key found for this signature in database
GPG Key ID: ED0D424AE4406330
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@ namespace hr {
static constexpr ld A_PI = M_PI;
static constexpr ld TAU = 2 * A_PI;
static constexpr ld degree = A_PI / 180;
static constexpr ld golden_phi = noexcept((sqrt(5)+1)/2);
static constexpr ld log_golden_phi = noexcept(log(golden_phi));
static constexpr ld golden_phi = (sqrt(5)+1)/2;
static constexpr ld log_golden_phi = log(golden_phi);
constexpr ld operator"" _deg(long double deg) { return deg * A_PI / 180; }
#endif