ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/NPTim.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/NPTim.cpp (file contents):
Revision 657 by tim, Tue Jul 22 19:54:52 2003 UTC vs.
Revision 658 by tim, Thu Jul 31 15:35:07 2003 UTC

# Line 220 | Line 220 | template<typename T> int NPTim<T>::readyCheck() {
220   }
221  
222   template<typename T> int NPTim<T>::readyCheck() {
223 +
224 +  //check parent's readyCheck() first
225 +  if (T::readyCheck() == -1)
226 +    return -1;
227  
228    // First check to see if we have a target temperature.
229    // Not having one is fatal.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines