forked from RobotLocomotion/drake
-
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.
symbolic: ExtractDoubleOrThrow(NAN) should be NAN (RobotLocomotion#10773
) During transmogrification of a Context<Expression> to Context<double>, the user may have placed NAN bombs in state variables or parameters which should be unused by the computation in question (e.g., the dynamics may not depend on some output-scaling parameter). In this case, we should just faithfully convert the Expression NAN to a double NAN, without throwing an exception.
- Loading branch information
1 parent
d1e1c97
commit 404a6da
Showing
2 changed files
with
15 additions
and
0 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