Skip to content
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

Fix incorrect weighting used for permafrost pool adjustment #720

Merged
merged 9 commits into from
Dec 29, 2023
Merged

Conversation

bpbond
Copy link
Member

@bpbond bpbond commented Dec 28, 2023

The simpleNbox::stashCvalues function was using incorrect biome weights when adjusting the permafrost pools. This resulted in extremely bad behavior when using more than a single biome.

This initial PR is a straight bug fix, and should not change main behavior at all (because permafrost remains disabled). I'll open a second PR to evaluate the effects of turning on permafrost by default in v3.

Part of #675

@bpbond bpbond requested a review from kdorheim December 28, 2023 21:50
Copy link

Differences in Hector outputs

Hello, this is leeyabot!

The current pull request's outputs do not differ from 3.0.0 (9aebf67).

@codecov-commenter
Copy link

codecov-commenter commented Dec 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0ea644b) 79.72% compared to head (3df6b20) 79.72%.

❗ Current head 3df6b20 differs from pull request most recent head f86983b. Consider uploading reports for the commit f86983b to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #720   +/-   ##
=======================================
  Coverage   79.72%   79.72%           
=======================================
  Files          61       61           
  Lines        5978     5978           
=======================================
  Hits         4766     4766           
  Misses       1212     1212           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

Differences in Hector outputs

Hello, this is leeyabot!

The current pull request's outputs do not differ from 3.0.0 (9aebf67).

@kdorheim kdorheim changed the base branch from main to dev December 29, 2023 16:20
@kdorheim kdorheim merged commit d55e3af into dev Dec 29, 2023
10 checks passed
@bpbond bpbond deleted the fpf branch December 29, 2023 16: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.

4 participants