Skip to content

Commit

Permalink
read only complete state spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Aug 20, 2024
1 parent 1d60a5a commit fa63935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state_space/reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ static GeneratorExitCode parse_run_file(const std::string& filename) {

GeneratorResult read(std::shared_ptr<VocabularyInfo> vocabulary_info, int index) {
auto exit_code = parse_run_file("run.log");
if (exit_code == GeneratorExitCode::FAIL) {
if (exit_code != GeneratorExitCode::COMPLETE) {
return GeneratorResult{
exit_code,
nullptr
Expand Down

0 comments on commit fa63935

Please sign in to comment.