-
Notifications
You must be signed in to change notification settings - Fork 568
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: qualify std::exp after including <cmath>
As noted in #462, including <cmath> only guarantees that std::exp is declared, so calling exp(double) unqualified is not portable. Squashed commit with a style change to the original PR: commit 8b9d48c0340f3fb82de59a6f7ec71ddfd86a602f Author: Chen Gong <[email protected]> Date: Sun Jan 16 00:49:47 2022 +0800 commit df4fe3e Author: Jonathan Wakely <[email protected]> Date: Tue Aug 10 10:18:38 2021 +0100 Closes #476
- Loading branch information
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters