fixed warning on comparison in cmasolutions