From cf21f5aa9556f31190b5668b8b159185f45361f0 Mon Sep 17 00:00:00 2001 From: aribiere <36670491+aribiere@users.noreply.github.com> Date: Fri, 19 Nov 2021 14:38:03 +0100 Subject: [PATCH] Add semicolon as separator for reading in a matrix (#2462) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Alain RIBIÈRE --- dlib/matrix/matrix_read_from_istream.h | 1 + 1 file changed, 1 insertion(+) diff --git a/dlib/matrix/matrix_read_from_istream.h b/dlib/matrix/matrix_read_from_istream.h index 3aced3584..c9f51178b 100644 --- a/dlib/matrix/matrix_read_from_istream.h +++ b/dlib/matrix/matrix_read_from_istream.h @@ -21,6 +21,7 @@ namespace dlib return in.peek() == '\n' || in.peek() == ' ' || in.peek() == ',' || + in.peek() == ';' || in.peek() == '\t' || in.peek() == '\r'; }