fixed some warnings

This commit is contained in:
matlabbe
2015-04-06 15:28:37 -04:00
parent 39ef8c0f0a
commit 9d58a6ec25
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ bool CameraModel::load(const std::string & filePath)
bool CameraModel::save(const std::string & filePath)
{
if(!filePath.empty() && !name_.empty() && !K_.empty() && !D_.empty(), !R_.empty(), !P_.empty())
if(!filePath.empty() && !name_.empty() && !K_.empty() && !D_.empty() && !R_.empty() && !P_.empty())
{
UINFO("Saving calibration to file \"%s\"", filePath.c_str());
cv::FileStorage fs(filePath, cv::FileStorage::WRITE);