summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-02 00:59:36 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-02 00:59:36 +0100
commit4f6b9809ed4c9291e2577ee8e0f3bebf15ca2629 (patch)
treeafd8890b4b0a0c850ed8dad19e5815a90be83ac8 /src/dcp.cc
parent12fe692248cfd7f604b8ac7d596bf796c0bf420a (diff)
Compare using maximum mean absolute difference and standard deviation.
Diffstat (limited to 'src/dcp.cc')
-rw-r--r--src/dcp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index 322859e7..cf37579f 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -334,7 +334,7 @@ DCP::DCP (string directory)
}
list<string>
-DCP::equals (DCP const & other, EqualityFlags flags) const
+DCP::equals (DCP const & other, EqualityFlags flags, double max_mean, double max_std_dev) const
{
list<string> notes;
@@ -361,7 +361,7 @@ DCP::equals (DCP const & other, EqualityFlags flags) const
list<shared_ptr<Asset> >::const_iterator b = other._assets.begin ();
while (a != _assets.end ()) {
- list<string> n = (*a)->equals (*b, flags);
+ list<string> n = (*a)->equals (*b, flags, max_mean, max_std_dev);
notes.merge (n);
++a;
++b;