Added PR #1 changes to this file.

should fix the problem on minima