From 12fb5fdf53d7e485d55ab9a79375e687d7527c94 Mon Sep 17 00:00:00 2001 From: dellaert Date: Thu, 22 Jan 2015 00:06:12 +0100 Subject: [PATCH] Fix crash --- examples/SFMExample_bal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/SFMExample_bal.cpp b/examples/SFMExample_bal.cpp index 43177dc42..0e11adaed 100644 --- a/examples/SFMExample_bal.cpp +++ b/examples/SFMExample_bal.cpp @@ -43,7 +43,7 @@ int main (int argc, char* argv[]) { // Load the SfM data from file SfM_data mydata; - assert(readBAL(filename, mydata)); + readBAL(filename, mydata); cout << boost::format("read %1% tracks on %2% cameras\n") % mydata.number_tracks() % mydata.number_cameras(); // Create a factor graph