Chameera,

This is wrong. It's not enought to check the reference, two different
instances can be semantically equivalent,

A dense matrix represents its entries in a two dimensional double array.
You have to check for the equality of these arrays.

--sebastian

On 29.12.2013 17:14, Chameera Wijebandara wrote:
> Hi Tharindu
> 
> In the DenseMatrix class does not implement equals method so it use
> Object.equals witch check the reference.
> You have implement equals method by overriding Object.equals method.
> 
> Thanks
>   Chameera
> 

Reply via email to