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

Comparing trunk/OOPSE/libmdtools/NPTi.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 201 | Line 201 | template<typename T> int NPTi<T>::readyCheck() {
201   }
202  
203   template<typename T> int NPTi<T>::readyCheck() {
204 +
205 +  //check parent's readyCheck() first
206 +  if (T::readyCheck() == -1)
207 +    return -1;
208  
209    // First check to see if we have a target temperature.
210    // Not having one is fatal.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines