Skip to content

Commit

Permalink
list == in interfaces.md and fix v0.7 deprecation warning for fieldna…
Browse files Browse the repository at this point in the history
…mes()
  • Loading branch information
tomerarnon committed Sep 4, 2018
1 parent d141b80 commit 0e9996d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/src/lib/interfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ norm(::LazySet, ::Real)
radius(::LazySet, ::Real)
diameter(::LazySet, ::Real)
an_element(::LazySet{Real})
==(::LazySet, ::LazySet)
```

## Centrally symmetric set
Expand Down
2 changes: 1 addition & 1 deletion src/LazySet.jl
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ function ==(X::LazySet, Y::LazySet)
return false
end

for f in fieldnames(X)
for f in fieldnames(typeof(X))
if getfield(X, f) != getfield(Y, f)
return false
end
Expand Down

0 comments on commit 0e9996d

Please sign in to comment.