ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/applications/dynamicProps/TimeCorrFunc.cpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/applications/dynamicProps/TimeCorrFunc.cpp (file contents):
Revision 2018 by tim, Mon Feb 14 17:57:01 2005 UTC vs.
Revision 2035 by tim, Tue Feb 15 19:36:07 2005 UTC

# Line 136 | Line 136 | void TimeCorrFunc::doCorrelate() {
136  
137      for (int i = 0; i < nblocks; ++i) {
138          bsMan_->loadBlock(i);
139 +
140          for (int j = i; j < nblocks; ++j) {
141              bsMan_->loadBlock(j);
142              correlateBlocks(i, j);
143 <
143 <            if (i != j) {
144 <                //if i equals to j, the block is still used, should not unload it
145 <                bsMan_->unloadBlock(j);
146 <            }
143 >            bsMan_->unloadBlock(j);
144          }
145 +        
146          bsMan_->unloadBlock(i);
147      }
148      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines