#1046 (fix)
Added quick return in Sparsity::isReshape