bad type for warn in primitive and bad sizing for a quadgk test