Skip to content

Commit

Permalink
Change == to ===
Browse files Browse the repository at this point in the history
  • Loading branch information
David Barton authored Jan 14, 2019
1 parent 1d6495d commit 55fb265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MAT_v5.jl
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ end
function read_data(f::IO, swap_bytes::Bool, ::Type{T}, dimensions::Vector{Int32}) where {T}
(dtype, nbytes, hbytes) = read_header(f, swap_bytes)
read_type = READ_TYPES[dtype]
if (read_type == UInt8) && (T === Bool)
if (read_type === UInt8) && (T === Bool)
read_type = Bool
end

Expand Down

0 comments on commit 55fb265

Please sign in to comment.