mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
2ad14b7a61
Otherwise, it will fail on Python 3 with: "UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 7690: ordinal not in range(128)" We have to use io.open() instead of open(), because open() does not accept the encoding on Python 2. Change-Id: I77b6552491e8de01d79a26d2f146ddbd968cce49