Skip to content

Commit 8aa1106

Browse files
authored
[FileFormats.NL] clarify comment about binary format (#2720)
1 parent 6682e86 commit 8aa1106

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/FileFormats/NL/read.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,9 @@ end
290290

291291
function _parse_header(io::IO, model::_CacheModel)
292292
# Line 1
293-
# We don't support the binary format.
294293
byte = read(io, UInt8)
294+
# Detect the format. We delay setting `model.is_binary` until the end of
295+
# this function because the header is _not_ in binary format.
295296
is_binary = false
296297
if byte == UInt8('b')
297298
is_binary = true

0 commit comments

Comments
 (0)