diff EquidistantGrid.jl @ 141:18b3c63673b3

Merged with cell_based_test
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Thu, 21 Feb 2019 16:55:03 +0100
parents 99308f68e548
children
line wrap: on
line diff
--- a/EquidistantGrid.jl	Thu Feb 21 16:27:28 2019 +0100
+++ b/EquidistantGrid.jl	Thu Feb 21 16:55:03 2019 +0100
@@ -52,5 +52,5 @@
 function pointsalongdim(grid::EquidistantGrid, dim::Integer)
     @assert dim<=dimension(grid)
     @assert dim>0
-    points = range(grid.limit_lower[dim],stop=grid.limit_lower[dim],length=grid.size[dim])
+    points = collect(range(grid.limit_lower[dim],stop=grid.limit_upper[dim],length=grid.size[dim]))
 end