I wrote a C++program to read the parameters in the yaml file and successfully compiled it. At runtime, I was prompted with the following information:
terminate called after throwing an instance of 'YAML::BadSubscript'
what( ): oprator[ ] call on a scalar (key:"0")
I hope someone can answer the reason for the problem. If you can provide a solution, it would be even better. Thank you!
I wrote a C++program to read the parameters in the yaml file and successfully compiled it. At runtime, I was prompted with the following information: terminate called after throwing an instance of 'YAML::BadSubscript' what( ): oprator[ ] call on a scalar (key:"0") I hope someone can answer the reason for the problem. If you can provide a solution, it would be even better. Thank you!