Skip to content

Commit

Permalink
Add version (closes #163), computing time always in seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
alko989 committed Dec 11, 2023
1 parent 91d85f5 commit 7a78406
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spict/R/spict.R
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ fit.spict <- function(inp, verbose=TRUE, dbg=0){
}
toc <- Sys.time()
if (!is.null(rep)){
rep$computing.time <- as.numeric(toc - tic)
rep$spict.version <- spict::get.version()
rep$computing.time <- as.numeric(difftime(toc, tic, units = "sec"))
class(rep) <- "spictcls"
}
return(rep)
Expand Down

0 comments on commit 7a78406

Please sign in to comment.