BUG: Correct "remez" error message (#9066)
BUG: Correct "remez" error message (#9066)

* Correct "remez" error message

The error case for remez is erroneously reporting the max iterations has been achieved, this is not the case.
The actual number of iterations is less and the failure is due to a decreasing deviation on an early iteration. This is due to the error being too small - smaller than round-off - and indicates specifications that are too lax. A more accurate error message indicates that the number of iterations is less than maximum, and that it might be averted by increasing the transition band width.

* Update sigtoolsmodule.c

Move "int niter" up to top of function.

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