Change min => minimum

One argument min/max (reducing min/max) are deprecated and replaced by minimum/maximum.