Skip to content

Commit

Permalink
== and != operators (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
heliosdrm authored and Datseris committed Jan 11, 2019
1 parent 8f4b5ee commit 726c49c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/matrices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ begin
end
end
end

for operator in [:(==), :(!=)]
@eval Base.$operator(x::ARM, y::ARM) = $operator(x.data, y.data)
end

LinearAlgebra.issymmetric(::RecurrenceMatrix) = true
# column values in sparse matrix (parallel to rowvals)
function colvals(x::SparseMatrixCSC)
Expand Down

0 comments on commit 726c49c

Please sign in to comment.