Skip to content

Support comparison (==) between TOMLDicts #222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nefrathenrici opened this issue Mar 14, 2025 · 0 comments
Open

Support comparison (==) between TOMLDicts #222

nefrathenrici opened this issue Mar 14, 2025 · 0 comments

Comments

@nefrathenrici
Copy link
Member

The only way to compare toml dicts is to manually check the .data property for equality, comparing full dicts does not work. This would be a nice convenience to have.

julia> ClimaParams.create_toml_dict(Float32) == ClimaParams.create_toml_dict(Float32)
false

julia> ClimaParams.create_toml_dict(Float32).data == ClimaParams.create_toml_dict(Float32).data
true
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

No branches or pull requests

1 participant