Skip to content

Commit

Permalink
fix RecipeData not defined; closes #7
Browse files Browse the repository at this point in the history
  • Loading branch information
tbreloff committed Jun 10, 2016
1 parent 4ad2d94 commit b27cb26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RecipesBase/src/RecipesBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,10 @@ macro recipe(funcexpr::Expr)
println("apply_recipe args: ", $args)
end
$kw_body
series_list = RecipeData[]
series_list = RecipesBase.RecipeData[]
func_return = $func_body
if func_return != nothing
push!(series_list, RecipeData(d, RecipesBase.wrap_tuple(func_return)))
push!(series_list, RecipesBase.RecipeData(d, RecipesBase.wrap_tuple(func_return)))
end
series_list
end
Expand Down Expand Up @@ -271,7 +271,7 @@ macro series(expr::Expr)
esc(quote
let d = copy(d)
args = $expr
push!(series_list, RecipeData(d, RecipesBase.wrap_tuple(args)))
push!(series_list, RecipesBase.RecipeData(d, RecipesBase.wrap_tuple(args)))
nothing
end
end)
Expand Down

0 comments on commit b27cb26

Please sign in to comment.