Skip to content

Commit

Permalink
fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
ahojukka5 authored and Rapo committed Aug 17, 2017
1 parent 741bb8d commit 2d48375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements.jl
Expand Up @@ -49,7 +49,7 @@ function get_element_id{E}(element::Element{E})
end

function is_element_type{E}(element::Element{E}, element_type)
return is(E, element_type)
return E === element_type
end

function filter_by_element_type(element_type, elements)
Expand Down

0 comments on commit 2d48375

Please sign in to comment.