Skip to content

Commit

Permalink
tidied output names
Browse files Browse the repository at this point in the history
  • Loading branch information
pboesu committed Jan 19, 2018
1 parent 28fde0b commit 7e8f42b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_tb.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ get_tb <- function(p, eb = 1, lb=NA){
#library(pracma)
abxb=c(ab,xb)
tb = 3 * quad(dget_tb, xa= 1e-15, xb=xb, tol = 1.0e-12, trace = FALSE, abxb)
return(c(tb, lb, info))
return(c(tb = unname(tb), lb = unname(lb), info = info))
}

# subfunction
Expand Down

0 comments on commit 7e8f42b

Please sign in to comment.