summaryrefslogtreecommitdiff
path: root/vest/error_surface.h
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-19 22:51:33 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-19 22:51:33 +0000
commit904130a611019d3ecb7878e21035f6915b4b5702 (patch)
tree34d4e44d8cc1edb83f0e5ee4021c5c8e11d2de0f /vest/error_surface.h
parenta0206fd7c45da0b31501713ac65834f69745b696 (diff)
shared_ptr for scores. todo: intrusive.
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@327 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'vest/error_surface.h')
-rw-r--r--vest/error_surface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vest/error_surface.h b/vest/error_surface.h
index a8734f54..ad728cfa 100644
--- a/vest/error_surface.h
+++ b/vest/error_surface.h
@@ -10,8 +10,8 @@ class Score;
struct ErrorSegment {
double x;
- Score* delta;
- ErrorSegment() : x(0), delta(NULL) {}
+ ScoreP delta;
+ ErrorSegment() : x(0), delta() {}
};
class ErrorSurface : public std::vector<ErrorSegment> {