Skip to content
Prev 10458 / 63424 Next

bug in crossprod? (PR#4092)

iwhite@staffmail.ed.ac.uk writes:
Confirmed. Also (and the same thing, I believe)
[,1]
[1,] 1.778181
a          b          c          d          e
 0.2810906  0.3457800  0.3663940 -1.1312883  0.4068751
Program received signal SIGSEGV, Segmentation fault.
0x08094d80 in Rf_duplicate (s=0x0) at
../../../R/src/main/duplicate.c:75
75          switch (TYPEOF(s)) {

I suspect the culprit is in the logic starting at line 610 in
src/main/array.c. ("Yes, x and y have dimnames, but not along the
direction we need them"). I can't quite seem to wrap my mind around it
just now though.