SCM

[#6766] Error when calling crossprod and tcrossprod with some classes

Date:
2022-05-28 12:15
Priority:
3
State:
Closed
Submitted by:
David Cortes (david.cortes)
Assigned to:
Nobody (None)
Hardware:
All
Product:
None
Operating System:
None
Component:
None
Version:
None
Severity:
None
Resolution:
Fixed
URL:
Summary:
Error when calling crossprod and tcrossprod with some classes

Detailed description
Calling crossprod and tcrossprod on a pair of dgRMatrix and dgTMatrix throws an error:

library(Matrix)
set.seed(123)
m <- matrix(rnorm(100), ncol=10)
m1 <- as(m, "RsparseMatrix")
m2 <- as(m, "TsparseMatrix")
crossprod(m1, m2)

Throws:
Error in .local(x, y, ...) : unused argument (boolArith = NA)

Comments:

Message  ↓
Date: 2022-05-30 17:08
Sender: Martin Maechler

Thank you, fix committed, for *both* crossprod() and tcrossprod() -- svn rev 3481 (R-forge!)

Date: 2022-05-30 08:06
Sender: Martin Maechler

Thank you. A small oversight, already fixed... (in my code); not yet committed... I'm busy a bit, but will get to add the other parts and commit soon

Attached Files:

Changes

Field Old Value Date By
status_idOpen2022-05-30 17:08mmaechler
close_dateNone2022-05-30 17:08mmaechler
HardwareNone2022-05-30 17:08mmaechler
ResolutionAccepted As Bug2022-05-30 17:08mmaechler
ResolutionNone2022-05-30 08:06mmaechler
Thanks to:
Vienna University of Economics and Business Powered By FusionForge