Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
maacpiash committed Jul 15, 2020
1 parent 0846e27 commit b111638
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Models/Query.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ public static List<string> Occupations
{
get
{
if (occupations == null)
if (occupations == null)
{
lock (key)
{
if (occupations == null)
{
occupations = new List<string>()
occupations = new List<string>
{
"Worker", "Fisherman", "Tati", "Kamar/Kumar",
"Cultivation", "Expatriate", "Small business",
Expand Down Expand Up @@ -82,9 +82,9 @@ public void SetValues()
List<School> eligibleSchools = new List<School>();
foreach (School s in Alternatives)
if (IsEligible(s)) eligibleSchools.Add(s);

foreach (School s in eligibleSchools)
{
{
// MFR
if (IsMale) s.MFR = 1 - s.MFR;

Expand Down

0 comments on commit b111638

Please sign in to comment.