Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vjousse committed Sep 17, 2024
1 parent 773a2bd commit 11a3b5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Data/Country.elm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module Data.Country exposing
, encodeCode
, findByCode
, getAquaticPollutionRatio
, iSEuropeOrTurkey
, isEuropeOrTurkey
, unknownCountryCode
)

Expand Down Expand Up @@ -153,8 +153,8 @@ getAquaticPollutionRatio scenario =
Split.fromPercent 65 |> Result.withDefault Split.full


iSEuropeOrTurkey : Country -> Bool
iSEuropeOrTurkey country =
isEuropeOrTurkey : Country -> Bool
isEuropeOrTurkey country =
country.zone == Zone.Europe || country.code == codeFromString "TR"


Expand Down
2 changes: 1 addition & 1 deletion src/Data/Textile/Simulator.elm
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ computeMakingAirTransportRatio ({ inputs } as simulator) =
-- User-provided value always takes precedence
step.airTransportRatio

else if Country.iSEuropeOrTurkey country then
else if Country.isEuropeOrTurkey country then
-- If Making country is Europe or Turquey, airTransportRatio is always 0
Split.zero

Expand Down

0 comments on commit 11a3b5e

Please sign in to comment.