forked from vgvassilev/clad
-
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.
Return type adjusted to depend on called function's return type
This commit changes the return type of 0 that is returned in case all arguments are constant literals. In particular it used to give warnings when differentiating NaN(or __builtin_nanf (const char * str )) which is crucial for the future fmax custom derivative implementation. Fixes: vgvassilev#908.
- Loading branch information
1 parent
3d4d2c4
commit bfe6d65
Showing
2 changed files
with
4 additions
and
4 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