Typo

Small typo in equal function