Commit 646821e5 authored by fmg005's avatar fmg005
parents 9234f646 ca21d00e
......@@ -52,7 +52,7 @@ using namespace libconfig;
int main(int argc, char * argv[]){
if(argc < 2)
if(argc < 2)
{
cout << "Error: must provide a configuration file\n";
cout << "Usage: ./clasim configfile\n";
......@@ -66,7 +66,9 @@ int main(int argc, char * argv[]){
vector<string> patients_list;
auto cf = std::make_shared<Config>();
float sim_time_secs, sim_time_mins;
string f_path = argv[1];
const char* filepath = f_path.c_str();
try
{
cf->readFile(filepath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment