forked from mindspore-Ecosystem/mindspore
!6433 CSV Dataset fix StateDiagram iter compare to other container's end
Merge pull request !6433 from jiangzhiwen/fix/csv_iter_compare_end
This commit is contained in:
commit
ef42280d03
|
@ -268,7 +268,7 @@ int CsvOp::CsvParser::CountRows(int c) {
|
||||||
m = Message::MS_NORMAL;
|
m = Message::MS_NORMAL;
|
||||||
}
|
}
|
||||||
StateDiagram::iterator it = sdl.find({cur_state_, m});
|
StateDiagram::iterator it = sdl.find({cur_state_, m});
|
||||||
if (it == sd.end()) {
|
if (it == sdl.end()) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
cur_state_ = it->second.first;
|
cur_state_ = it->second.first;
|
||||||
|
|
Loading…
Reference in New Issue