]> Some of my projects - tal.git/commitdiff
gcc fixes
authorAPTX <marek321@gmail.com>
Sun, 5 Dec 2010 18:49:20 +0000 (19:49 +0100)
committerAPTX <marek321@gmail.com>
Sun, 5 Dec 2010 18:49:20 +0000 (19:49 +0100)
tal-algorithm/main.cpp

index c2790cf46e11f71d83703704811d3227fb888628..7a672e31213443916c589cba96c11b2e3330a286 100644 (file)
@@ -197,7 +197,6 @@ void solve_dp(Problem * p)
                p->totalValue = V(p->count, p->limit);
        }
        STOP_CPU;
-
        DEALLOC(int, 1);
        DEALLOC(int, 1);
        DEALLOC(int, (p->count + 1) * (p->limit + 1));
@@ -370,7 +369,8 @@ int main(int argc, char **argv)
                delete p;
                goto help;
        }
-cout << *p;
+
+       cout << *p;
 
        for (int i = 0; i < runs; ++i)
        {