From 3ee176c65b05ddaa3501a36dec1915808ac889ae Mon Sep 17 00:00:00 2001 From: Tiago Gomes Date: Mon, 28 May 2012 16:59:41 +0100 Subject: [PATCH] fix header guard --- packages/CLPBN/horus/Var.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/CLPBN/horus/Var.h b/packages/CLPBN/horus/Var.h index e43048b98..8ab580c3a 100644 --- a/packages/CLPBN/horus/Var.h +++ b/packages/CLPBN/horus/Var.h @@ -1,5 +1,5 @@ -#ifndef HORUS_Var_H -#define HORUS_Var_H +#ifndef HORUS_VAR_H +#define HORUS_VAR_H #include @@ -40,13 +40,13 @@ class Var void setIndex (size_t idx) { index_ = idx; } - operator size_t (void) const { return index_; } - bool hasEvidence (void) const { return evidence_ != Constants::NO_EVIDENCE; } + operator size_t (void) const { return index_; } + bool operator== (const Var& var) const { assert (!(varId_ == var.varId() && range_ != var.range())); @@ -104,5 +104,5 @@ class Var }; -#endif // BP_Var_H +#endif // HORUS_VAR_H