Commit 2016e90c authored by Vladislav Samsonov's avatar Vladislav Samsonov

Fixing GCC warning

parent 5146e0d2
......@@ -67,7 +67,7 @@ struct Magnitude
Magnitude( float _val, int _i, int _j ) : val( _val ), i( _i ), j( _j ) {}
Magnitude() {}
bool operator<( const Magnitude &m ) { return val > m.val; }
bool operator<( const Magnitude &m ) const { return val > m.val; }
};
struct PartitionPredicate1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment