JoeyDelp / JoSIM

Superconductor Circuit Simulator
MIT License
73 stars 33 forks source link

Fix errors in standard input #58

Closed tanetakumi closed 2 years ago

tanetakumi commented 2 years ago

When we select Input (-i):, i.e. standard input, the function Input::read_input tries to access fileName.value() even though fileName is nullopt, resulting in bad_optional_access.

I have fixed this.

Also, since it was not specified how to end the standard input, I used ".finish" to terminate.