Cleanup: Remove unnecessary dynamic_cast in simulation state creation #107796

Closed
Hans Goudey wants to merge 2 commits from HooglyBoogly:cleanup-sim-output-remove-dynamic-cast into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

2 Commits

Author SHA1 Message Date
Hans Goudey 599ddeda09 Use references 2023-05-09 14:11:29 -04:00
Hans Goudey e28d104092 Cleanup: Remove unnecessary dynamic_cast in simulation state creation
Geometry and string simulation states will always be stored with
the same type, there is no need to check that with dynamic_cast.
2023-05-09 14:09:46 -04:00