Skip to content

Commit

Permalink
correct names for returned values
Browse files Browse the repository at this point in the history
  • Loading branch information
pboesu committed Jan 17, 2018
1 parent 37772f9 commit 28fde0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/get_lb.R
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,6 @@ get_lb = function(p, eb = 1, lb0 = NA){
warning('get_lb: no convergence of l_b')
}

return(c(lb, info))
return(c(lb = unname(lb), info = info))

}
2 changes: 1 addition & 1 deletion R/get_ue0.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,5 @@ get_ue0=function(p, eb = 1, lb0 = NA){

#print(paste("uE0", uE0))

return(c(uE0, lb, info))
return(c(uE0 = unname(uE0), lb = unname(lb), info = info))
}

0 comments on commit 28fde0b

Please sign in to comment.