Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fmg005
clasim
Commits
646821e5
Commit
646821e5
authored
Mar 14, 2018
by
fmg005
Browse files
Merge branch 'master' of
https://gitlab.bucknell.edu/fmg005/clasim
parents
9234f646
ca21d00e
Changes
1
Hide whitespace changes
Inline
Side-by-side
simsrc/mcps2018/algo1/SimEngine.cpp
View file @
646821e5
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment