Skip to content

Commit 3c9ef69

Browse files
committed
Fix THCTensor::isSparse
1 parent dee987d commit 3c9ef69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/lib/THPP/tensors/generic/THCTensor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ bool THCTensor<real>::isCuda() const {
606606

607607
template<>
608608
bool THCTensor<real>::isSparse() const {
609-
return true;
609+
return false;
610610
}
611611

612612
template<>

0 commit comments

Comments
 (0)