BUG: compute gfk before using it in line_search_wolfe2 (ticket #1726)
BUG: compute gfk before using it in line_search_wolfe2 (ticket #1726)

zerothi/scipy,larsmans/scipy,pbrod/scipy,njwilson23/scipy,ortylp/scipy,raoulbq/scipy,witcxc/scipy,sargas/scipy,WarrenWeckesser/scipy,juliantaylor/scipy,juliantaylor/scipy,njwilson23/scipy,Stefan-Endres/scipy,anntzer/scipy,lukauskas/scipy,dch312/scipy,anntzer/scipy,arokem/scipy,anielsen001/scipy,zerothi/scipy,pizzathief/scipy,zxsted/scipy,jsilter/scipy,trankmichael/scipy,giorgiop/scipy,perimosocordiae/scipy,rmcgibbo/scipy,njwilson23/scipy,minhlongdo/scipy,mgaitan/scipy,mdhaber/scipy,juliantaylor/scipy,niknow/scipy,jseabold/scipy,pbrod/scipy,e-q/scipy,kleskjr/scipy,zaxliu/scipy,behzadnouri/scipy,arokem/scipy,petebachant/scipy,Newman101/scipy,niknow/scipy,njwilson23/scipy,efiring/scipy,jamestwebber/scipy,ales-erjavec/scipy,vberaudi/scipy,efiring/scipy,nvoron23/scipy,ilayn/scipy,maniteja123/scipy,trankmichael/scipy,anielsen001/scipy,argriffing/scipy,zxsted/scipy,maniteja123/scipy,behzadnouri/scipy,gdooper/scipy,haudren/scipy,mhogg/scipy,lhilt/scipy,FRidh/scipy,Shaswat27/scipy,efiring/scipy,trankmichael/scipy,matthew-brett/scipy,mdhaber/scipy,maniteja123/scipy,teoliphant/scipy,sriki18/scipy,jor-/scipy,FRidh/scipy,chatcannon/scipy,cpaulik/scipy,FRidh/scipy,mhogg/scipy,e-q/scipy,josephcslater/scipy,tylerjereddy/scipy,lukauskas/scipy,mtrbean/scipy,mingwpy/scipy,mortonjt/scipy,Dapid/scipy,argriffing/scipy,cpaulik/scipy,jjhelmus/scipy,maciejkula/scipy,matthewalbani/scipy,zerothi/scipy,efiring/scipy,gef756/scipy,maciejkula/scipy,jsilter/scipy,dch312/scipy,ogrisel/scipy,WarrenWeckesser/scipy,teoliphant/scipy,jor-/scipy,josephcslater/scipy,woodscn/scipy,maniteja123/scipy,befelix/scipy,hainm/scipy,jamestwebber/scipy,fernand/scipy,matthewalbani/scipy,mortonjt/scipy,mgaitan/scipy,mortonjt/scipy,mhogg/scipy,Eric89GXL/scipy,teoliphant/scipy,maniteja123/scipy,mortada/scipy,aarchiba/scipy,piyush0609/scipy,vigna/scipy,petebachant/scipy,richardotis/scipy,sargas/scipy,endolith/scipy,matthewalbani/scipy,ales-erjavec/scipy,zxsted/scipy,Dapid/scipy,nvoron23/scipy,aman-iitj/scipy,ortylp/scipy,vhaasteren/scipy,niknow/scipy,apbard/scipy,mortada/scipy,Gillu13/scipy,giorgiop/scipy,fernand/scipy,aarchiba/scipy,petebachant/scipy,surhudm/scipy,dominicelse/scipy,rgommers/scipy,jseabold/scipy,sriki18/scipy,andim/scipy,aeklant/scipy,pschella/scipy,woodscn/scipy,pbrod/scipy,fredrikw/scipy,nvoron23/scipy,rmcgibbo/scipy,jseabold/scipy,efiring/scipy,ndchorley/scipy,Kamp9/scipy,minhlongdo/scipy,mdhaber/scipy,matthew-brett/scipy,rgommers/scipy,pbrod/scipy,aeklant/scipy,mingwpy/scipy,pnedunuri/scipy,scipy/scipy,lhilt/scipy,niknow/scipy,juliantaylor/scipy,zerothi/scipy,larsmans/scipy,nonhermitian/scipy,apbard/scipy,ChanderG/scipy,niknow/scipy,vhaasteren/scipy,Newman101/scipy,maniteja123/scipy,endolith/scipy,vhaasteren/scipy,mortada/scipy,bkendzior/scipy,pbrod/scipy,gertingold/scipy,andyfaff/scipy,tylerjereddy/scipy,kalvdans/scipy,Shaswat27/scipy,rgommers/scipy,petebachant/scipy,giorgiop/scipy,nvoron23/scipy,perimosocordiae/scipy,ilayn/scipy,andyfaff/scipy,nonhermitian/scipy,jjhelmus/scipy,ChanderG/scipy,vanpact/scipy,aarchiba/scipy,sonnyhu/scipy,nvoron23/scipy,vigna/scipy,gfyoung/scipy,mtrbean/scipy,zerothi/scipy,petebachant/scipy,jseabold/scipy,tylerjereddy/scipy,WillieMaddox/scipy,perimosocordiae/scipy,vberaudi/scipy,Stefan-Endres/scipy,behzadnouri/scipy,Newman101/scipy,hainm/scipy,ogrisel/scipy,hainm/scipy,nmayorov/scipy,sargas/scipy,bkendzior/scipy,mortonjt/scipy,mgaitan/scipy,Srisai85/scipy,dominicelse/scipy,ChanderG/scipy,WillieMaddox/scipy,argriffing/scipy,ales-erjavec/scipy,fredrikw/scipy,FRidh/scipy,mtrbean/scipy,larsmans/scipy,Eric89GXL/scipy,lhilt/scipy,Shaswat27/scipy,rmcgibbo/scipy,jor-/scipy,perimosocordiae/scipy,ales-erjavec/scipy,aman-iitj/scipy,haudren/scipy,andyfaff/scipy,fredrikw/scipy,Eric89GXL/scipy,gertingold/scipy,andim/scipy,pnedunuri/scipy,Kamp9/scipy,sauliusl/scipy,gef756/scipy,gef756/scipy,vhaasteren/scipy,mhogg/scipy,lukauskas/scipy,raoulbq/scipy,rgommers/scipy,WarrenWeckesser/scipy,cpaulik/scipy,nonhermitian/scipy,richardotis/scipy,jakevdp/scipy,grlee77/scipy,Srisai85/scipy,e-q/scipy,fernand/scipy,mtrbean/scipy,njwilson23/scipy,ales-erjavec/scipy,richardotis/scipy,trankmichael/scipy,pschella/scipy,surhudm/scipy,surhudm/scipy,witcxc/scipy,vberaudi/scipy,lhilt/scipy,mortonjt/scipy,newemailjdm/scipy,Gillu13/scipy,cpaulik/scipy,felipebetancur/scipy,zerothi/scipy,cpaulik/scipy,tylerjereddy/scipy,WillieMaddox/scipy,mikebenfield/scipy,mortada/scipy,Eric89GXL/scipy,witcxc/scipy,pbrod/scipy,jjhelmus/scipy,gef756/scipy,Eric89GXL/scipy,gdooper/scipy,WillieMaddox/scipy,andim/scipy,bkendzior/scipy,sauliusl/scipy,newemailjdm/scipy,kleskjr/scipy,richardotis/scipy,jakevdp/scipy,newemailjdm/scipy,sauliusl/scipy,fernand/scipy,pschella/scipy,petebachant/scipy,dominicelse/scipy,josephcslater/scipy,richardotis/scipy,rgommers/scipy,jamestwebber/scipy,zaxliu/scipy,WillieMaddox/scipy,gfyoung/scipy,sargas/scipy,mikebenfield/scipy,scipy/scipy,vanpact/scipy,scipy/scipy,newemailjdm/scipy,chatcannon/scipy,mgaitan/scipy,matthew-brett/scipy,sonnyhu/scipy,aman-iitj/scipy,chatcannon/scipy,mikebenfield/scipy,Shaswat27/scipy,person142/scipy,giorgiop/scipy,fredrikw/scipy,scipy/scipy,teoliphant/scipy,anielsen001/scipy,haudren/scipy,sauliusl/scipy,jonycgn/scipy,newemailjdm/scipy,chatcannon/scipy,jakevdp/scipy,fernand/scipy,mingwpy/scipy,scipy/scipy,surhudm/scipy,arokem/scipy,mgaitan/scipy,piyush0609/scipy,fredrikw/scipy,Dapid/scipy,vanpact/scipy,Gillu13/scipy,cpaulik/scipy,mtrbean/scipy,Newman101/scipy,piyush0609/scipy,vberaudi/scipy,bkendzior/scipy,befelix/scipy,jakevdp/scipy,andim/scipy,ilayn/scipy,kalvdans/scipy,dominicelse/scipy,Dapid/scipy,sonnyhu/scipy,ndchorley/scipy,raoulbq/scipy,mhogg/scipy,mortonjt/scipy,jonycgn/scipy,sauliusl/scipy,grlee77/scipy,kleskjr/scipy,pizzathief/scipy,aarchiba/scipy,kalvdans/scipy,Kamp9/scipy,kleskjr/scipy,ndchorley/scipy,mtrbean/scipy,jonycgn/scipy,felipebetancur/scipy,andyfaff/scipy,sauliusl/scipy,pschella/scipy,Srisai85/scipy,larsmans/scipy,matthew-brett/scipy,Kamp9/scipy,perimosocordiae/scipy,lhilt/scipy,WarrenWeckesser/scipy,josephcslater/scipy,felipebetancur/scipy,gdooper/scipy,newemailjdm/scipy,aman-iitj/scipy,Dapid/scipy,pnedunuri/scipy,pnedunuri/scipy,nmayorov/scipy,haudren/scipy,vanpact/scipy,futurulus/scipy,jsilter/scipy,Kamp9/scipy,anntzer/scipy,woodscn/scipy,nonhermitian/scipy,maciejkula/scipy,person142/scipy,hainm/scipy,jor-/scipy,zaxliu/scipy,aeklant/scipy,maciejkula/scipy,aman-iitj/scipy,behzadnouri/scipy,giorgiop/scipy,sriki18/scipy,futurulus/scipy,pyramania/scipy,gertingold/scipy,niknow/scipy,pnedunuri/scipy,WarrenWeckesser/scipy,fredrikw/scipy,sonnyhu/scipy,scipy/scipy,chatcannon/scipy,Gillu13/scipy,pyramania/scipy,Eric89GXL/scipy,grlee77/scipy,FRidh/scipy,futurulus/scipy,haudren/scipy,person142/scipy,sonnyhu/scipy,arokem/scipy,e-q/scipy,Newman101/scipy,vberaudi/scipy,perimosocordiae/scipy,befelix/scipy,endolith/scipy,hainm/scipy,anielsen001/scipy,minhlongdo/scipy,andyfaff/scipy,piyush0609/scipy,pyramania/scipy,ogrisel/scipy,piyush0609/scipy,person142/scipy,mortada/scipy,ilayn/scipy,mikebenfield/scipy,mortada/scipy,dch312/scipy,Srisai85/scipy,giorgiop/scipy,jjhelmus/scipy,anntzer/scipy,Stefan-Endres/scipy,endolith/scipy,maciejkula/scipy,sonnyhu/scipy,chatcannon/scipy,vhaasteren/scipy,argriffing/scipy,Gillu13/scipy,trankmichael/scipy,jseabold/scipy,behzadnouri/scipy,gfyoung/scipy,larsmans/scipy,ortylp/scipy,bkendzior/scipy,apbard/scipy,WarrenWeckesser/scipy,dch312/scipy,arokem/scipy,nmayorov/scipy,felipebetancur/scipy,zaxliu/scipy,juliantaylor/scipy,mingwpy/scipy,raoulbq/scipy,gertingold/scipy,grlee77/scipy,gertingold/scipy,ndchorley/scipy,hainm/scipy,vanpact/scipy,pyramania/scipy,jonycgn/scipy,efiring/scipy,apbard/scipy,ogrisel/scipy,aeklant/scipy,sargas/scipy,nmayorov/scipy,surhudm/scipy,ndchorley/scipy,dch312/scipy,vhaasteren/scipy,ChanderG/scipy,pizzathief/scipy,anntzer/scipy,matthewalbani/scipy,minhlongdo/scipy,anntzer/scipy,argriffing/scipy,raoulbq/scipy,Shaswat27/scipy,behzadnouri/scipy,rmcgibbo/scipy,Newman101/scipy,befelix/scipy,mhogg/scipy,trankmichael/scipy,raoulbq/scipy,woodscn/scipy,Shaswat27/scipy,kleskjr/scipy,apbard/scipy,jamestwebber/scipy,futurulus/scipy,Kamp9/scipy,teoliphant/scipy,lukauskas/scipy,jor-/scipy,gef756/scipy,andim/scipy,person142/scipy,pnedunuri/scipy,jseabold/scipy,zxsted/scipy,larsmans/scipy,nvoron23/scipy,gef756/scipy,vberaudi/scipy,vigna/scipy,Stefan-Endres/scipy,pyramania/scipy,rmcgibbo/scipy,andyfaff/scipy,kalvdans/scipy,jsilter/scipy,gfyoung/scipy,jjhelmus/scipy,mdhaber/scipy,sriki18/scipy,ogrisel/scipy,kleskjr/scipy,Gillu13/scipy,zxsted/scipy,FRidh/scipy,Srisai85/scipy,nmayorov/scipy,vigna/scipy,surhudm/scipy,vigna/scipy,mingwpy/scipy,anielsen001/scipy,felipebetancur/scipy,endolith/scipy,zxsted/scipy,ChanderG/scipy,witcxc/scipy,Dapid/scipy,minhlongdo/scipy,gdooper/scipy,rmcgibbo/scipy,mdhaber/scipy,mdhaber/scipy,matthewalbani/scipy,woodscn/scipy,zaxliu/scipy,pschella/scipy,jakevdp/scipy,grlee77/scipy,dominicelse/scipy,matthew-brett/scipy,Stefan-Endres/scipy,andim/scipy,kalvdans/scipy,richardotis/scipy,WillieMaddox/scipy,tylerjereddy/scipy,lukauskas/scipy,befelix/scipy,gdooper/scipy,Srisai85/scipy,haudren/scipy,minhlongdo/scipy,fernand/scipy,mgaitan/scipy,sriki18/scipy,zaxliu/scipy,nonhermitian/scipy,aeklant/scipy,ChanderG/scipy,mikebenfield/scipy,woodscn/scipy,anielsen001/scipy,aarchiba/scipy,futurulus/scipy,lukauskas/scipy,aman-iitj/scipy,ilayn/scipy,ales-erjavec/scipy,njwilson23/scipy,argriffing/scipy,ortylp/scipy,pizzathief/scipy,mingwpy/scipy,Stefan-Endres/scipy,endolith/scipy,piyush0609/scipy,vanpact/scipy,witcxc/scipy,jamestwebber/scipy,ndchorley/scipy,e-q/scipy,ilayn/scipy,gfyoung/scipy,sriki18/scipy,ortylp/scipy,jsilter/scipy,pizzathief/scipy,jonycgn/scipy,ortylp/scipy,josephcslater/scipy,jonycgn/scipy,felipebetancur/scipy,futurulus/scipy