diff options
author | Gard Spreemann <gspr@nonempty.org> | 2020-07-30 10:19:14 +0200 |
---|---|---|
committer | Gard Spreemann <gspr@nonempty.org> | 2020-07-30 10:19:14 +0200 |
commit | 5806cb271b9d7a71abda698de695b18459f471a6 (patch) | |
tree | 03be96b16d412e5e606fb7ca85bbbd70fb2a4c87 /debian/patches/silence.patch | |
parent | 948eeb222981044da4fcb53c88abd505c2c9f9f8 (diff) |
Let GBP reformat older patches.
Diffstat (limited to 'debian/patches/silence.patch')
-rw-r--r-- | debian/patches/silence.patch | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/debian/patches/silence.patch b/debian/patches/silence.patch index 828b96c..7d34a63 100644 --- a/debian/patches/silence.patch +++ b/debian/patches/silence.patch @@ -1,3 +1,7 @@ +From: Gard Spreemann <gspr@nonempty.org> +Date: Thu, 30 Jul 2020 09:57:45 +0200 +Subject: silence + The library's documentation indicates that it will only write out messages when the iprint flag is greater than zero. There are two places where writing still happens unconditionally, which this patch @@ -5,9 +9,15 @@ fixes. A similar patch was also applied by the SciPy project (see their issue 3238). +--- + lbfgsb.f | 10 +++++++--- + 1 file changed, 7 insertions(+), 3 deletions(-) + +diff --git a/lbfgsb.f b/lbfgsb.f +index 54fd1f9..008370d 100644 --- a/lbfgsb.f +++ b/lbfgsb.f -@@ -2550,7 +2550,9 @@ +@@ -2550,7 +2550,9 @@ c Determine the maximum step length. if (gd .ge. zero) then c the directional derivative >=0. c Line search is impossible. @@ -18,7 +28,7 @@ A similar patch was also applied by the SciPy project (see their issue info = -4 return endif -@@ -3279,8 +3281,10 @@ +@@ -3279,8 +3281,10 @@ c 55 continue if ( dd_p .gt.zero ) then call dcopy( n, xp, 1, x, 1 ) |