Permalink
Browse files

Repair unittest output

  • Loading branch information...
1 parent 4e8e05b commit 4986930839f23c9227e7dcb1fc99e2e15f65b7de @kaskr committed Dec 28, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 tmb_examples/Makefile
  2. +1 −1 tmb_examples/unittest.R
View
@@ -10,4 +10,4 @@ report: $(outputfiles)
R --vanilla < unittest.R
clean :
- rm -f *.o *.so *~ core *.output.RData
+ rm -f *.o *.so *~ core *.output.RData Rplots.pdf
View
@@ -62,7 +62,7 @@ if(example!=""){
totaltime <- function(x)sum(sapply(x,function(x)x["elapsed"]))
t1 <- totaltime(e1$.timings)
t2 <- totaltime(e2$.timings)
- c(summary(d)[c("Min.","Median","Max.")],totaltime=t2,timeindex=t2/t1)
+ c(summary(as.numeric(d))[c("Min.","Median","Max.")],totaltime=t2,timeindex=t2/t1)
}
sink("REPORT.md")
cat("Example overview:\n-----------------\n")

0 comments on commit 4986930

Please sign in to comment.