source: issm/oecreview/Archive/16554-17801/ISSM-17739-17740.diff@ 17802

Last change on this file since 17802 was 17802, checked in by Mathieu Morlighem, 11 years ago

Added archives

File size: 656 bytes
RevLine 
[17802]1Index: ../trunk-jpl/src/c/shared/Numerics/NewtonSolveDnorm.cpp
2===================================================================
3--- ../trunk-jpl/src/c/shared/Numerics/NewtonSolveDnorm.cpp (revision 17739)
4+++ ../trunk-jpl/src/c/shared/Numerics/NewtonSolveDnorm.cpp (revision 17740)
5@@ -31,7 +31,7 @@
6 while(true){
7
8 /*Newton step*/
9- y2 = y1 - (c1*pow(pow(10.,y1),s-1.) + c2*pow(10.,y1) - c3)/((s-1)*c1*log(10)*pow(pow(10.,y1),s-1.) + c2*log(10.)*pow(10.,y1));
10+ y2 = y1 - (c1*pow(pow(10.,y1),s-1.) + c2*pow(10.,y1) - c3)/((s-1)*c1*log(10.)*pow(pow(10.,y1),s-1.) + c2*log(10.)*pow(10.,y1));
11
12 if( fabs(y2-y1)/(fabs(y2))<threshold ){
13 break;
Note: See TracBrowser for help on using the repository browser.