STY minor changes to compressed matrix comparison