* Bug 16473 fixed: Deleting rows in a sparse squared the matrix
[scilab.git] / scilab / modules / ast / src / cpp / types / sparse.cpp
index 5e6cd64..1490750 100644 (file)
@@ -1911,7 +1911,7 @@ GenericType* Sparse::remove(typed_list* _pArgs)
     }
     else
     {
-        pOut = new Sparse(piNewDims[0], piNewDims[0], isComplex());
+        pOut = new Sparse(piNewDims[0], piNewDims[1], isComplex());
     }
 
     delete[] piNewDims;