Skip to content

RecordComponent: Remove Unimplemented Scaling#954

Merged
ax3l merged 3 commits intoopenPMD:devfrom
ax3l:fix-recordCompDefaultArg
Mar 31, 2021
Merged

RecordComponent: Remove Unimplemented Scaling#954
ax3l merged 3 commits intoopenPMD:devfrom
ax3l:fix-recordCompDefaultArg

Conversation

@ax3l
Copy link
Member

@ax3l ax3l commented Mar 31, 2021

With the latest ICPX release, it looks like the quiet NaN's we used as a default argument do not yield true anymore in std::nan. This is confusing... but we will change the default value anyway. #953 https://godbolt.org/z/fbca5ffnP

  • auxiliary::Option: Make this a public class, so we can use it in user-facing interfaces.
  • use an option as default value in RecordComponent -> remove unused parameter altogether

Make this a public class, so we can use it in user-facing interfaces.
Somehow, it doesn't properly recognize NaNs, so let's try an
auxiliary::Option.
@ax3l ax3l requested a review from franzpoeschel March 31, 2021 20:41
@ax3l ax3l changed the title RecordComponent: Remove NaN Default RecordComponent: Remove Unimplemented Scaling Mar 31, 2021
Remove unimplemented `targetUnitSI` argument.
@ax3l ax3l merged commit a8a362a into openPMD:dev Mar 31, 2021
@ax3l ax3l deleted the fix-recordCompDefaultArg branch March 31, 2021 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants