Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Commit

Permalink
Merge pull request #542 from PaulARoy/development
Browse files Browse the repository at this point in the history
Fixing #538: CSVReader Ignores specified delimiter
  • Loading branch information
cesarsouza authored Apr 14, 2017
2 parents 5d09f77 + 7370db1 commit 052b5c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Accord.IO/Csv/CsvReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ private string ReadField(int field, bool initializing, bool discardValue)
ReadBuffer();
}

if (initializing)
if (initializing && (Delimiter == DefaultDelimiter)) // do not guess if delimiter was already set
{
GuessDelimiterFromBuffer();
}
Expand Down

0 comments on commit 052b5c0

Please sign in to comment.