Skip to content

Commit

Permalink
Don't call the WCNF header a DIMACS CNF header
Browse files Browse the repository at this point in the history
  • Loading branch information
jix committed Mar 13, 2021
1 parent cc23ec9 commit 6c51055
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions flussab-cnf/src/wcnf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ where
{
/// Creates a parser reading from a [`BufReader`].
///
/// When `strict` is false, the variable and clause count of the DIMACS CNF header are ignored
/// during parsing.
/// When `strict` is false, the variable and clause count of the header are ignored during
/// parsing.
pub fn from_buf_reader(
buf_reader: BufReader<impl Read + 'a>,
strict: bool,
Expand All @@ -65,8 +65,8 @@ where
/// [`from_buf_reader`][Self::from_buf_reader] to avoid unnecessary double buffering of the
/// data.
///
/// When `strict` is false, the variable and clause count of the DIMACS CNF header are ignored
/// during parsing.
/// When `strict` is false, the variable and clause count of the header are ignored during
/// parsing.
pub fn from_read(read: impl Read + 'a, strict: bool) -> Result<Self, ParseError> {
Self::new(LineReader::new(ByteReader::from_read(read)), strict)
}
Expand All @@ -77,8 +77,8 @@ where
/// [`from_buf_reader`][Self::from_buf_reader] to avoid unnecessary double buffering of the
/// data.
///
/// When `strict` is false, the variable and clause count of the DIMACS CNF header are ignored
/// during parsing.
/// When `strict` is false, the variable and clause count of the header are ignored during
/// parsing.
#[inline(never)]
pub fn from_boxed_dyn_read(read: Box<dyn Read + 'a>, strict: bool) -> Result<Self, ParseError> {
Self::new(
Expand Down

0 comments on commit 6c51055

Please sign in to comment.