Skip to content

Commit

Permalink
Fix wrong condition
Browse files Browse the repository at this point in the history
  • Loading branch information
prj- committed Dec 7, 2023
1 parent a671c19 commit ce0fecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fflib/AFunction.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ class C_F0 {
bool operator==(const C_F0 & a) const {return f==a.f && r == a.r;}
bool operator!=(const C_F0 & a) const {return f!=a.f || r != a.r;}
// Type_Expr SetParam(const ListOfId * l,size_t & top) const ;
bool MeshIndependent() const { return f ==0 ? f->MeshIndependent() : false;}
bool MeshIndependent() const { return f ? f->MeshIndependent() : false;}
C_F0 OnReturn() { f=r->OnReturn(f); return *this; } // Add mai 2009 (for return statment.
private:
friend class Block;
Expand Down

0 comments on commit ce0fecd

Please sign in to comment.