Mentions légales du service

Skip to content
Snippets Groups Projects

Fix return value of genRHS python wrapper

Closed BREGEOT Valentine requested to merge python/genRHS into master
1 unresolved thread
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -264,7 +264,10 @@ class spmatrix():
info = pyspm_spmGenRHS( rhstype, nrhs, self.id_ptr,
xptr, ldx, b.ctypes.data_as( c_void_p ), ldb )
return x, b
if getx:
return x, b
else:
return b
def mult( self, B, C, trans=trans.NoTrans, n=-1, alpha=1.0, beta=0. ):
Loading