Programmer Passport: Prolog: error in definition of maximum_path (page 49)

The definition of maximum_path is shown as identical to that of minimum_path. It looks like both uses of min should be replaced with max.