Browse Source

fix StateDiagram iter compare to other container's end

tags/v1.0.0
jiangzhiwen 5 years ago
parent
commit
bf7e14a083
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/minddata/dataset/engine/datasetops/source/csv_op.cc

+ 1
- 1
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/csv_op.cc View File

@@ -268,7 +268,7 @@ int CsvOp::CsvParser::CountRows(int c) {
m = Message::MS_NORMAL;
}
StateDiagram::iterator it = sdl.find({cur_state_, m});
if (it == sd.end()) {
if (it == sdl.end()) {
return -1;
}
cur_state_ = it->second.first;


Loading…
Cancel
Save