Add assert to detect futur potential scipy change.