fix header guard
This commit is contained in:
parent
f3ca7b2dfc
commit
3ee176c65b
@ -1,5 +1,5 @@
|
|||||||
#ifndef HORUS_Var_H
|
#ifndef HORUS_VAR_H
|
||||||
#define HORUS_Var_H
|
#define HORUS_VAR_H
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
@ -40,13 +40,13 @@ class Var
|
|||||||
|
|
||||||
void setIndex (size_t idx) { index_ = idx; }
|
void setIndex (size_t idx) { index_ = idx; }
|
||||||
|
|
||||||
operator size_t (void) const { return index_; }
|
|
||||||
|
|
||||||
bool hasEvidence (void) const
|
bool hasEvidence (void) const
|
||||||
{
|
{
|
||||||
return evidence_ != Constants::NO_EVIDENCE;
|
return evidence_ != Constants::NO_EVIDENCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
operator size_t (void) const { return index_; }
|
||||||
|
|
||||||
bool operator== (const Var& var) const
|
bool operator== (const Var& var) const
|
||||||
{
|
{
|
||||||
assert (!(varId_ == var.varId() && range_ != var.range()));
|
assert (!(varId_ == var.varId() && range_ != var.range()));
|
||||||
@ -104,5 +104,5 @@ class Var
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // BP_Var_H
|
#endif // HORUS_VAR_H
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user