We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6682e86 commit 8aa1106Copy full SHA for 8aa1106
src/FileFormats/NL/read.jl
@@ -290,8 +290,9 @@ end
290
291
function _parse_header(io::IO, model::_CacheModel)
292
# Line 1
293
- # We don't support the binary format.
294
byte = read(io, UInt8)
+ # Detect the format. We delay setting `model.is_binary` until the end of
295
+ # this function because the header is _not_ in binary format.
296
is_binary = false
297
if byte == UInt8('b')
298
is_binary = true
0 commit comments