diff --git a/src/Data/Country.elm b/src/Data/Country.elm index 01c5a68aa..5059aacc7 100644 --- a/src/Data/Country.elm +++ b/src/Data/Country.elm @@ -10,7 +10,7 @@ module Data.Country exposing , encodeCode , findByCode , getAquaticPollutionRatio - , iSEuropeOrTurkey + , isEuropeOrTurkey , unknownCountryCode ) @@ -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" diff --git a/src/Data/Textile/Simulator.elm b/src/Data/Textile/Simulator.elm index 85987f808..49ffbda9b 100644 --- a/src/Data/Textile/Simulator.elm +++ b/src/Data/Textile/Simulator.elm @@ -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