-
-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Labels
Description
Related to #562, this seems like a bug:
R> cppFunction("NumericMatrix testmat(int n, double fillme) { NumericMatrix M(n, n); M = fillme; return M; }")
R> testmat(2L, 3)
[,1] [,2] [,3]
[1,] 0 0 0
[2,] 0 0 0
[3,] 0 0 0
R>
I was expecting a 2x2 matrix will with the value 3. No mas.