Use the dtype as given above. Condlist[0] may have the correct shape, but it certainly does not have the correct data type.