Fix errors on Windows with VS 2010
							parent
							
								
									d3333c1c85
								
							
						
					
					
						commit
						1ed2700515
					
				| 
						 | 
					@ -150,10 +150,10 @@ public:
 | 
				
			||||||
  /// @{
 | 
					  /// @{
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /// stream to stream
 | 
					  /// stream to stream
 | 
				
			||||||
  friend std::ostream& operator <<(std::ostream& os, const EssentialMatrix& E);
 | 
					  GTSAM_EXPORT friend std::ostream& operator <<(std::ostream& os, const EssentialMatrix& E);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /// stream from stream
 | 
					  /// stream from stream
 | 
				
			||||||
  friend std::istream& operator >>(std::istream& is, EssentialMatrix& E);
 | 
					  GTSAM_EXPORT friend std::istream& operator >>(std::istream& is, EssentialMatrix& E);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /// @}
 | 
					  /// @}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -26,6 +26,7 @@
 | 
				
			||||||
#include <boost/bind.hpp>
 | 
					#include <boost/bind.hpp>
 | 
				
			||||||
#include <boost/foreach.hpp>
 | 
					#include <boost/foreach.hpp>
 | 
				
			||||||
#include <boost/random.hpp>
 | 
					#include <boost/random.hpp>
 | 
				
			||||||
 | 
					#include <boost/thread.hpp>
 | 
				
			||||||
#include <boost/assign/std/vector.hpp>
 | 
					#include <boost/assign/std/vector.hpp>
 | 
				
			||||||
#include <cmath>
 | 
					#include <cmath>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -233,7 +234,7 @@ TEST(Unit3, localCoordinates_retract) {
 | 
				
			||||||
  for (size_t i = 0; i < numIterations; i++) {
 | 
					  for (size_t i = 0; i < numIterations; i++) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Sleep for the random number generator (TODO?: Better create all of them first).
 | 
					    // Sleep for the random number generator (TODO?: Better create all of them first).
 | 
				
			||||||
    sleep(0);
 | 
					    boost::this_thread::sleep(boost::posix_time::milliseconds(0));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Create the two Unit3s.
 | 
					    // Create the two Unit3s.
 | 
				
			||||||
    // NOTE: You can not create two totally random Unit3's because you cannot always compute
 | 
					    // NOTE: You can not create two totally random Unit3's because you cannot always compute
 | 
				
			||||||
| 
						 | 
					@ -263,7 +264,7 @@ TEST(Unit3, localCoordinates_retract_expmap) {
 | 
				
			||||||
  for (size_t i = 0; i < numIterations; i++) {
 | 
					  for (size_t i = 0; i < numIterations; i++) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Sleep for the random number generator (TODO?: Better create all of them first).
 | 
					    // Sleep for the random number generator (TODO?: Better create all of them first).
 | 
				
			||||||
    sleep(0);
 | 
					    boost::this_thread::sleep(boost::posix_time::milliseconds(0));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Create the two Unit3s.
 | 
					    // Create the two Unit3s.
 | 
				
			||||||
    // Unlike the above case, we can use any two sphers.
 | 
					    // Unlike the above case, we can use any two sphers.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue