Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
virgesmith committed Jun 5, 2019
1 parent f41ebe4 commit e30dea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ukpopulation/customsnppdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def extrapolate(self, npp, geog_codes, year_range):
for country in geog_codes:
if not geog_codes[country]: continue

max_year = self.max_year(country)
max_year = self.max_year()
last_year = self.filter(geog_codes[country], max_year)

(in_range, ex_range) = utils.split_range(year_range, max_year)
Expand Down

0 comments on commit e30dea9

Please sign in to comment.