summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2011-01-30 16:05:08 +0100
committerGuillaume Seguin <guillaume@segu.in>2011-01-30 16:05:08 +0100
commit7889deadd3acbd2e0fdf9d0bf5dd55585d38aa32 (patch)
tree91d596062b18d6c14746bcb54d2c26e74f646950
parenta9c0c4ca5c9d6cd27b05277b2e2327328074fa5e (diff)
downloadspacetimemanifolds-7889deadd3acbd2e0fdf9d0bf5dd55585d38aa32.tar.gz
spacetimemanifolds-7889deadd3acbd2e0fdf9d0bf5dd55585d38aa32.tar.bz2
Fix porting issue
-rw-r--r--xtslice.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtslice.cc b/xtslice.cc
index f0d95b5..1066338 100644
--- a/xtslice.cc
+++ b/xtslice.cc
@@ -16,7 +16,7 @@ Mat xtslice(vector<Mat> frames, Path path)
}
for (Path::iterator it = path.begin(); it != path.end(); ++it)
{
- int frame = it->first, strip = it->second.first, dy = -it->second.second;
+ int frame = it->first, strip = it->second;
cv::line(slice, Point(frame, strip), Point(frame, strip), CV_RGB(0, 0, 1));
}
return slice;