Skip to content

Commit

Permalink
linspace => range
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Petviashvili committed Feb 6, 2019
1 parent 8694f43 commit 208446b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/mandelbrot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ gridSize = 2048
xlim = [-0.748766713922161, -0.748766707771757]
ylim = [ 0.123640844894862, 0.123640851045266]

x = linspace( xlim[1], xlim[2], gridSize )
y = linspace( ylim[1], ylim[2], gridSize )
x = range( xlim[1], xlim[2], length = gridSize )
y = range( ylim[1], ylim[2], length = gridSize )

xGrid = [i for i in x, j in y]
yGrid = [j for i in x, j in y]
Expand Down

0 comments on commit 208446b

Please sign in to comment.