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

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

# Line 311 | Line 311 | template<typename T> int NPTf<T>::readyCheck() {
311   }
312  
313   template<typename T> int NPTf<T>::readyCheck() {
314 +
315 +  //check parent's readyCheck() first
316 +  if (T::readyCheck() == -1)
317 +    return -1;
318  
319    // First check to see if we have a target temperature.
320    // Not having one is fatal.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines