forked from OSSInnovation/mindspore
fix StateDiagram iter compare to other container's end
This commit is contained in:
parent
33b4886ca9
commit
bf7e14a083
|
@ -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