aboutsummaryrefslogtreecommitdiff
path: root/projectionobserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'projectionobserver.h')
-rw-r--r--projectionobserver.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/projectionobserver.h b/projectionobserver.h
index 11338f5..7e9239d 100644
--- a/projectionobserver.h
+++ b/projectionobserver.h
@@ -11,9 +11,11 @@ class ProjectionObserver
{
Q_OBJECT
public:
- static const int OBSERVER_CURRENT = 0;
- static const int OBSERVER_DIFF_PREVIOUS = 1;
- static const int OBSERVER_DIFF_ORIGINAL = 2;
+ enum ObserverType {
+ ObserverCurrent,
+ ObserverDiffPrevious,
+ ObserverDiffFirst
+ };
ProjectionObserver(const arma::mat &X,
const arma::uvec &cpIndices,