'%lf' for doubles, not '%ld'
This commit is contained in:
		
							parent
							
								
									6ff108f360
								
							
						
					
					
						commit
						87c544cec7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -77,6 +77,6 @@ template<>
 | 
			
		|||
const char* ScalarParserTraits<int>::fmt = "%d";
 | 
			
		||||
 | 
			
		||||
template<>
 | 
			
		||||
const char* ScalarParserTraits<double>::fmt = "%ld";
 | 
			
		||||
const char* ScalarParserTraits<double>::fmt = "%lf";
 | 
			
		||||
 | 
			
		||||
} /* namespace yaml */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue