fix: check for NaNs in BA
fix: check for NaNs in BA

mapillary/OpenSfM,oscarlorentzon/OpenSfM,mapillary/OpenSfM,oscarlorentzon/OpenSfM,oscarlorentzon/OpenSfM,mapillary/OpenSfM,oscarlorentzon/OpenSfM,mapillary/OpenSfM,oscarlorentzon/OpenSfM,mapillary/OpenSfM