Changeset 345


Ignore:
Timestamp:
Apr 7, 2004 1:52:24 PM (16 years ago)
Author:
jpfasano
Message:

Modified to compile with MS Visual C++ V6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Test/unitTest.cpp

    r344 r345  
    571571    model.dualRanging(8,which,costIncrease,sequenceIncrease,
    572572                      costDecrease,sequenceDecrease);
    573     for (int i=0;i<8;i++)
     573    int i;
     574    for ( i=0;i<8;i++)
    574575      printf("%d increase %g %d, decrease %g %d\n",
    575576             i,costIncrease[i],sequenceIncrease[i],
     
    592593    model.dualRanging(8,which,costIncrease2,sequenceIncrease2,
    593594                      costDecrease2,sequenceDecrease2);
    594     for (int i=0;i<8;i++) {
     595    for (i=0;i<8;i++) {
    595596      assert (fabs(costIncrease[i]-costDecrease2[i])<1.0e-6);
    596597      assert (fabs(costDecrease[i]-costIncrease2[i])<1.0e-6);
Note: See TracChangeset for help on using the changeset viewer.