newville/lmfit-py — pull request #33 by Tillsten (2013-01-23 16:52:56+00:00)
Title: Refactor out penalty for scalar minimizers

Simple change, it is also quite nice to have the penatly function available to the outside. Makes it easier to use external minimizers.