Displaying 1 result from an estimated 1 matches for "weirdnumb".
Did you mean:
weirdnumber
2006 Sep 23
1
generics for primitive functions
i think these two code snippets exhibit a bug. they are identical
but for the inclusion of an initial line in snippet [2]
[1]
setMethod("Math", signature(x = "numeric"), function(x) "Works")
getGeneric("sqrt")(4)
[2]
getGeneric("sqrt")(4)
setMethod("Math", signature(x = "numeric"), function(x) "Works")