Libmv: Fix typo in packed intrinsics

Was using doing an implicit cast of floating point value to boolean.
Was not noticed before because the boolean value was never never used.
This commit is contained in:
Sergey Sharybin 2020-10-21 10:48:13 +02:00
parent 283c7fecf9
commit 1b1f46a98c
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ double PackedIntrinsics::GetPrincipalPointY() const {
void PackedIntrinsics::SetParameter(int index, double value) {
parameters_.at(index) = value;
known_parameters_.at(index) = value;
known_parameters_.at(index) = true;
}
double PackedIntrinsics::GetParameter(int index) const {
// TODO(sergey): Consider adding a check for whether the parameter is known.