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:
parent
283c7fecf9
commit
1b1f46a98c
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue