/[escript]/trunk/escript/src/Data/FunctionSpace.cpp
ViewVC logotype

Diff of /trunk/escript/src/Data/FunctionSpace.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 117 by jgs, Fri Apr 1 05:48:57 2005 UTC revision 147 by jgs, Fri Aug 12 01:45:47 2005 UTC
# Line 23  Line 23 
23  #include <iostream>  #include <iostream>
24  #include <sstream>  #include <sstream>
25    
26    using namespace std;
27  namespace escript {  namespace escript {
28    
29  //  //
# Line 103  FunctionSpace::operator=(const FunctionS Line 104  FunctionSpace::operator=(const FunctionS
104  bool  bool
105  FunctionSpace::operator==(const FunctionSpace& other) const  FunctionSpace::operator==(const FunctionSpace& other) const
106  {  {
107    return (other.m_domain==m_domain && other.m_functionSpaceType==m_functionSpaceType);    return ((*(other.m_domain)==*(m_domain)) && (other.m_functionSpaceType==m_functionSpaceType));
108  }  }
109    
110  bool  bool
111  FunctionSpace::operator!=(const FunctionSpace& other) const  FunctionSpace::operator!=(const FunctionSpace& other) const
112  {  {
113    return (!(other==*this));    return !(operator==(other));
114  }  }
115    
116  escript::Data  escript::Data

Legend:
Removed from v.117  
changed lines
  Added in v.147

  ViewVC Help
Powered by ViewVC 1.1.26