diff --git a/doc/source/pre/whatsnew/1.1.rst b/doc/source/pre/whatsnew/1.1.rst index 12f8c505a27c2ef369200893c05d55fac9311c1a..703c382924ba642ec9b7afa7c9ba682510d72ac2 100644 --- a/doc/source/pre/whatsnew/1.1.rst +++ b/doc/source/pre/whatsnew/1.1.rst @@ -60,3 +60,17 @@ This allows leaving out one lead (preferably the widest) from ``out_leads`` and ``in_leads``, and still to calculate all transmission probabilities. Doing so has been measured to speed up computations by 20% in some cases. + +Clearer error messages +---------------------- +The error messages (exceptions) that appear when the Kwant interface is used incorrectly have been improved in many cases. For example, if instead of :: + + builder[lattice(0, 1)] = 1 + +one writes :: + + builder[(0, 1)] = 1 + +the error message will be more helpful now. + +Please continue reporting confusing error messages on the Kwant mailing list.