BUG: optimize: fix #10349 by increasing tol
BUG: optimize: fix #10349 by increasing tol

lhilt/scipy,mdhaber/scipy,jamestwebber/scipy,nmayorov/scipy,Stefan-Endres/scipy,Stefan-Endres/scipy,perimosocordiae/scipy,grlee77/scipy,perimosocordiae/scipy,aeklant/scipy,vigna/scipy,scipy/scipy,perimosocordiae/scipy,aeklant/scipy,Eric89GXL/scipy,tylerjereddy/scipy,grlee77/scipy,zerothi/scipy,jor-/scipy,ilayn/scipy,andyfaff/scipy,e-q/scipy,perimosocordiae/scipy,andyfaff/scipy,rgommers/scipy,nmayorov/scipy,jamestwebber/scipy,matthew-brett/scipy,tylerjereddy/scipy,mdhaber/scipy,aarchiba/scipy,lhilt/scipy,aeklant/scipy,aeklant/scipy,matthew-brett/scipy,scipy/scipy,rgommers/scipy,WarrenWeckesser/scipy,rgommers/scipy,e-q/scipy,andyfaff/scipy,aarchiba/scipy,jamestwebber/scipy,nmayorov/scipy,scipy/scipy,zerothi/scipy,ilayn/scipy,ilayn/scipy,jor-/scipy,WarrenWeckesser/scipy,tylerjereddy/scipy,matthew-brett/scipy,rgommers/scipy,jamestwebber/scipy,andyfaff/scipy,e-q/scipy,arokem/scipy,anntzer/scipy,person142/scipy,WarrenWeckesser/scipy,nmayorov/scipy,mdhaber/scipy,anntzer/scipy,zerothi/scipy,endolith/scipy,gertingold/scipy,gertingold/scipy,gertingold/scipy,scipy/scipy,Eric89GXL/scipy,WarrenWeckesser/scipy,lhilt/scipy,endolith/scipy,scipy/scipy,matthew-brett/scipy,lhilt/scipy,perimosocordiae/scipy,Stefan-Endres/scipy,matthew-brett/scipy,grlee77/scipy,e-q/scipy,ilayn/scipy,jor-/scipy,endolith/scipy,vigna/scipy,person142/scipy,scipy/scipy,gertingold/scipy,gertingold/scipy,person142/scipy,mdhaber/scipy,zerothi/scipy,Stefan-Endres/scipy,nmayorov/scipy,aarchiba/scipy,tylerjereddy/scipy,aarchiba/scipy,pizzathief/scipy,mdhaber/scipy,Eric89GXL/scipy,vigna/scipy,Eric89GXL/scipy,aeklant/scipy,zerothi/scipy,zerothi/scipy,andyfaff/scipy,e-q/scipy,pizzathief/scipy,ilayn/scipy,arokem/scipy,pizzathief/scipy,andyfaff/scipy,WarrenWeckesser/scipy,anntzer/scipy,jor-/scipy,anntzer/scipy,Stefan-Endres/scipy,endolith/scipy,Stefan-Endres/scipy,vigna/scipy,grlee77/scipy,aarchiba/scipy,arokem/scipy,lhilt/scipy,jor-/scipy,pizzathief/scipy,vigna/scipy,rgommers/scipy,Eric89GXL/scipy,Eric89GXL/scipy,arokem/scipy,pizzathief/scipy,arokem/scipy,endolith/scipy,anntzer/scipy,mdhaber/scipy,jamestwebber/scipy,WarrenWeckesser/scipy,endolith/scipy,person142/scipy,ilayn/scipy,tylerjereddy/scipy,person142/scipy,anntzer/scipy,perimosocordiae/scipy,grlee77/scipy