forked from csete/gpredict
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix some build problems with lambdas in MSVC
One of the problems is caused by a ternary operator having different lambdas in the "if" and "else" clauses. This gives some problem regarding type conversion. The ternary operator has been replaced by an if/else construct. The other problem regards a constexpr variable that is not captured. The constexpr variable has been set to static constexpr. This closes csete#197
- Loading branch information
1 parent
554497b
commit 30c02a3
Showing
2 changed files
with
13 additions
and
7 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