comparison of array of doubles and string must raise a ValueError - fixing previous commit