Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/FileFormats/NL/read.jl
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,9 @@ end

function _parse_header(io::IO, model::_CacheModel)
# Line 1
# We don't support the binary format.
byte = read(io, UInt8)
# Detect the format. We delay setting `model.is_binary` until the end of
# this function because the header is _not_ in binary format.
is_binary = false
if byte == UInt8('b')
is_binary = true
Expand Down
Loading