Permalink
Browse files

Fix ZSCORE

  • Loading branch information...
1 parent 335f817 commit 007bf4ad1c4d861bfac993191574ec057bf04366 @qwzybug qwzybug committed Jun 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 R/zsetVal.R
View
@@ -82,7 +82,7 @@ redisZCard <- function(key)
redisZScore <- function(key, element)
{
- ret <- .redisCmd(.raw('ZSCORE'), .raw(key), element)
+ ret <- .redisCmd(.raw('ZSCORE'), .raw(key), .raw(element))
if(!is.null(ret)) ret <- as.numeric(ret)
ret
}

0 comments on commit 007bf4a

Please sign in to comment.