From 96c430cbd02e7af03ddd2184d34a4728cbedbf46 Mon Sep 17 00:00:00 2001 From: wvpm <24685035+wvpm@users.noreply.github.com> Date: Fri, 29 Dec 2023 10:11:34 +0100 Subject: [PATCH] Corrected formula --- docs/simulation/calculations.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/simulation/calculations.yaml b/docs/simulation/calculations.yaml index e6b01ae5..8de4aba9 100644 --- a/docs/simulation/calculations.yaml +++ b/docs/simulation/calculations.yaml @@ -56,7 +56,7 @@ POPs: if is_slave: 0 else: if minimum wage > normal wage: - formula: max(minimum wage, RGO income * employed workers in POP / total non-slave employed workers) * (1 - effective tax) + formula: min(minimum wage, RGO income * employed workers in POP / total non-slave employed workers) * (1 - effective tax) else: formula: RGO income * max(0.5, 1 - 2 * owners / workers) * employed workers in POP / total non-slave employed workers * (1 - effective tax) owners: total size of owner POPs in state