Skip to content

Accept truncations in pops smaller than 16#740

Merged
wvpm merged 1 commit into
masterfrom
accept_small_pop_truncation
May 19, 2026
Merged

Accept truncations in pops smaller than 16#740
wvpm merged 1 commit into
masterfrom
accept_small_pop_truncation

Conversation

@wvpm
Copy link
Copy Markdown
Contributor

@wvpm wvpm commented May 18, 2026

Truncations are bound to happen with fixed point math. At a certain pop size we just have to accept it to avoid spamming warnings.

@wvpm wvpm requested a review from a team as a code owner May 18, 2026 22:45
@wvpm wvpm added enhancement New feature or request topic:economy labels May 18, 2026
@wvpm wvpm enabled auto-merge May 18, 2026 22:47
Comment thread src/openvic-simulation/population/Pop.cpp Outdated
@wvpm wvpm force-pushed the accept_small_pop_truncation branch from 98ca0ae to 0402f32 Compare May 19, 2026 11:27
Comment thread src/openvic-simulation/population/Pop.cpp Outdated
@wvpm wvpm force-pushed the accept_small_pop_truncation branch from 0402f32 to 368d1fa Compare May 19, 2026 11:36
@wvpm wvpm merged commit ddb4db3 into master May 19, 2026
16 checks passed
@Spartan322 Spartan322 deleted the accept_small_pop_truncation branch May 19, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request topic:economy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants