diff --git a/benchmarks/mpas_ocean.py b/benchmarks/mpas_ocean.py index 98a506d97..353558bf8 100644 --- a/benchmarks/mpas_ocean.py +++ b/benchmarks/mpas_ocean.py @@ -180,4 +180,5 @@ def teardown(self, resolution): del self.uxgrid def time_const_lat(self, resolution, lat_step): - self.uxgrid.cross_section.constant_latitude(self.lats) + for lat in self.lats: + self.uxgrid.cross_section.constant_latitude(lat)