Re: [QuantLib-svn] SF.net SVN: quantlib: [14287] trunk/QuantLib

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [QuantLib-svn] SF.net SVN: quantlib: [14287] trunk/QuantLib

Luigi Ballabio

On Wed, 2008-02-06 at 05:42 -0800, [hidden email] wrote:
> Revision: 14287
>           http://quantlib.svn.sourceforge.net/quantlib/?rev=14287&view=rev
> Author:   nando
> Date:     2008-02-06 05:42:05 -0800 (Wed, 06 Feb 2008)
>
> Log Message:
> -----------
> formatting

> @@ -124,11 +124,11 @@
>              for (Size i=1; i<n+1; ++i) {
> -                if (iteration == 0)   {
> +                if (iteration==0) {
>                      // extend interpolation a point at a time
> @@ -149,10 +149,10 @@
>                      guess = 0.99 * ts_->data_[i];
> -                } else if (i == 1) {
> +                } else if (i==1) {
>                      guess = Traits::initialGuess();

Hi,
        the old format seemed more readable to me. Just saying...

Luigi


--

Steinbach's Guideline for Systems Programming:
Never test for an error condition you don't know how to handle.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: [QuantLib-svn] SF.net SVN: quantlib: [14287] trunk/QuantLib

Ferdinando M. Ametrano-3
On Wed, Feb 6, 2008 at 3:09 PM, Luigi Ballabio <[hidden email]> wrote:
>  > -                } else if (i == 1) {
>  > +                } else if (i==1) {

>         the old format seemed more readable to me. Just saying...

I have no preference but being consistent in the whole file, which was
what I fixed

ciao -- Nando

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev