Skip to content

fix: Check parameter validity by type name - #2577

Merged
trisyoungs merged 2 commits into
develop2from
dissolve2/parameter-check-type-by-name
Aug 11, 2026
Merged

fix: Check parameter validity by type name#2577
trisyoungs merged 2 commits into
develop2from
dissolve2/parameter-check-type-by-name

Conversation

@trisyoungs

Copy link
Copy Markdown
Member

A quick PR to change the checks made in ParameterBase::get and ParameterBase::set to explicitly match the names of type_ids rather than just comparing std::type_index objects. The latter would cause unit tests to fail on OSX due to different hash_codes for the same type being generated (presumably due to some scope / forward declaration issue on that platform).

@trisyoungs trisyoungs changed the title fix: Check parameter validity by name rather than (hashed) type fix: Check parameter validity by type name Aug 10, 2026
@trisyoungs
trisyoungs requested a review from rprospero August 11, 2026 08:33
@trisyoungs
trisyoungs marked this pull request as ready for review August 11, 2026 08:33
@trisyoungs
trisyoungs merged commit fef172a into develop2 Aug 11, 2026
5 of 7 checks passed
@trisyoungs
trisyoungs deleted the dissolve2/parameter-check-type-by-name branch August 11, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants