Skip to content
This repository has been archived by the owner on Apr 28, 2021. It is now read-only.

Commit

Permalink
fix #246
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed Jan 18, 2018
1 parent dea75b5 commit b58b7cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GLVisualize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ using FreeTypeAbstraction
import ColorVectorSpace
import GLAbstraction: N0f8
export N0f8 # reexport for examples/tests
using Base.Iterators: filter

import Base: merge, convert, show
using Base.Iterators: Repeated, repeated

Expand Down
2 changes: 1 addition & 1 deletion src/visualize/surface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ end


function position_calc(x...)
_position_calc(filter(x->!isa(x, Void), x)...)
_position_calc(Iterators.filter(x->!isa(x, Void), x)...)
end
function glsllinspace(position::Grid, gi, index)
"position.ref[$gi] + ($index - position.offset[$gi]) * position._step[$gi]"
Expand Down

0 comments on commit b58b7cb

Please sign in to comment.