Fix SparseMatrix/SparseVector::sum() SparseMatrix/SparseVector::sum() uses Map to compute the sum. But Map expects a pointer.