Skip to content

Commit

Permalink
Merge pull request #9 from UofUEpiBio/vectorization
Browse files Browse the repository at this point in the history
Vectorization
  • Loading branch information
gvegayon authored Dec 1, 2023
2 parents bf344f7 + 5283c3b commit 68de576
Show file tree
Hide file tree
Showing 59 changed files with 3,317 additions and 2,175 deletions.
7 changes: 6 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@
"thread": "cpp",
"typeinfo": "cpp",
"variant": "cpp",
"semaphore": "cpp"
"semaphore": "cpp",
"list": "cpp",
"unordered_set": "cpp",
"shared_mutex": "cpp",
"cfenv": "cpp",
"cinttypes": "cpp"
},
"intel-corporation.oneapi-analysis-configurator.binary-path": "/home/george/Documents/development/epiworld/tests/01c.o"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ int main()

virus.set_status(1, 2);

model.add_virus_n(virus, 1000);
model.default_add_virus<TSeq>n(virus, 1000);

// Generating a random pop from a smallworld network
model.agents_smallworld(100000, 4L, false, .01);
Expand Down
2 changes: 1 addition & 1 deletion epiworld-hpp.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ unfolder <- function(txt, rel = "include/epiworld/") {

loc <- heads[h]

fn <- paste0(rel, fns[h])
fn <- trimws(paste0(rel, fns[h]))
tmp_lines <- readLines(fn, warn = FALSE)

# Extracting relative path
Expand Down
Loading

0 comments on commit 68de576

Please sign in to comment.