Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Jan 31, 2024
1 parent b65e477 commit 4f584bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/matsim/prepare/population/CalcIncome.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class CalcIncome implements PersonAlgorithm {
private static final int[] INCOME_GROUPS = new int[]{450, 500, 900, 1500, 2000, 2600, 3000, 3600, 4600, 5600, 8000};

/**
* Distribution per economic status. See python file extract income.
* Distribution per economic status. See python file extract income.
*/
private static final Map<String, double[]> INCOME_DIST = Map.of(
"very_low", new double[]{0.086, 0.342, 0.343, 0.165, 0.058, 0.004, 0.002, 0.000, 0.000, 0.000},
Expand Down Expand Up @@ -77,7 +77,7 @@ public void run(Person person) {
double perPerson = (double) income / hh;

// Minimum income is "Regelsatz"
PersonUtils.setIncome(person, Math.max(450, perPerson));
PersonUtils.setIncome(person, Math.max(450, perPerson));
}

}

0 comments on commit 4f584bc

Please sign in to comment.