Skip to content

Commit

Permalink
fixes #189
Browse files Browse the repository at this point in the history
  • Loading branch information
braverock committed Dec 4, 2024
1 parent 91291b4 commit 9fce071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/SemiDeviation.R
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function (R)
{
if (is.vector(R)) {
R = na.omit(R)
return(DownsideDeviation(R, MAR=mean(R), method="subset"))
return(DownsideDeviation(R, MAR=mean(R), method="subset")^2)
}
else {
R = checkData(R, method = "matrix")
Expand Down

0 comments on commit 9fce071

Please sign in to comment.