Ignore:
Timestamp:
04/18/15 17:31:31 (9 years ago)
Author:
Maciej Komosinski
Message:

Signed/unsigned int issues (r352) resolved differently - in most cases no (int)size() cast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/similarity/simil_model.cpp

    r356 r361  
    734734                {
    735735                    GetNeighbIndexes(mod, partInd, nIndexes);
    736                     for (int k = 0; k < (int) nIndexes.size(); k++)
     736                                        for (unsigned int k = 0; k < nIndexes.size(); k++)
    737737                    {
    738738                        newDeg += m_fuzzyNeighb[mod][nIndexes.at(k)][depth - 1];
     
    17221722        // wartości orginalne transformacji dOrig uzyskuje się przez:
    17231723        // for ( iTrans = 0; iTrans <= TRANS_INDEX; iTrans++ ) dOrig *= dMul[ iTrans ];
     1724        //const char *szTransformNames[NO_OF_TRANSFORM] = { "ID", "S_yz", "S_xz", "S_xy", "R180_z", "R180_y", "R180_z", "S_(0,0,0)" };
    17241725        const int dMulX[ NO_OF_TRANSFORM ] = {1, -1, -1, 1, -1, 1, -1, -1};
    17251726        const int dMulY[ NO_OF_TRANSFORM ] = {1, 1, -1, -1, -1, -1, -1, 1};
    17261727        const int dMulZ[ NO_OF_TRANSFORM ] = {1, 1, 1, -1, -1, -1, 1, 1};
    17271728
    1728 #undef max
     1729#ifdef max
     1730 #undef max //this macro would conflict with line below
     1731#endif
    17291732        double dMinSimValue = std::numeric_limits<double>::max(); // minimum value of similarity
    17301733        int iMinSimTransform = -1; // index of the transformation with the minimum similarity
Note: See TracChangeset for help on using the changeset viewer.