sparse/*.c, drop unnecessary (MatrixPtr) cast

This commit is contained in:
rlar 2013-04-28 13:49:38 +02:00
parent 5c903a6f5c
commit 2517756eff
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ spGetQuad(MatrixPtr Matrix, int Row1, int Row2, int Col1, int Col2,
(Template->Element4Negated == NULL))
return spNO_MEMORY;
if (Template->Element1 == &((MatrixPtr)Matrix)->TrashCan.Real)
if (Template->Element1 == & Matrix->TrashCan.Real)
SWAP( RealNumber *, Template->Element1, Template->Element2 );
return spOKAY;