aboutsummaryrefslogtreecommitdiff
path: root/Source/Python
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2021-08-25 16:26:51 -0700
committerGravatar GitHub <noreply@github.com> 2021-08-25 16:26:51 -0700
commit7a3f23aa649844bf03745da9e80f93a24fee88e5 (patch)
tree1b3cdff57b636c9bcdb5b8447be8c2e1a5183f6d /Source/Python
parent4b7189fd4da8cc0f2c4a7a2ac7fe4d64f20f553b (diff)
downloadWarpX-7a3f23aa649844bf03745da9e80f93a24fee88e5.tar.gz
WarpX-7a3f23aa649844bf03745da9e80f93a24fee88e5.tar.zst
WarpX-7a3f23aa649844bf03745da9e80f93a24fee88e5.zip
GetPosition 2D3V: y=0 (#2233)
In 2D3V, we currently assigned the y position a signaling NaN in `GetPosition`, so that it cannot be used accidentially in functions. When we call parser functions, this value is copied even if it is not used, raising the signaling NaN. Rethinking the strategy, we can write more general inputs files if we instead write a sensible default for `y` in 2D3V: `y=0`. So this PR changes the default, which also fixes the issue.
Diffstat (limited to 'Source/Python')
0 files changed, 0 insertions, 0 deletions