Skip to content

Commit

Permalink
fixes #187
Browse files Browse the repository at this point in the history
  • Loading branch information
braverock committed Dec 4, 2024
1 parent 9fce071 commit ac33ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/Return.excess.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function (R, Rf = 0)
if(!is.null(dim(Rf))){
Rf = checkData(Rf)
coln.Rf=colnames(Rf)
if(is.null(coln.Rf)){
if(is.null(coln.Rf) | colnames(R) == colnames(Rf)){
colnames(Rf) = "Rf"
coln.Rf = colnames(Rf)
}
Expand Down

0 comments on commit ac33ff2

Please sign in to comment.