mirror of
				https://github.com/Brandon-Rozek/matmod.git
				synced 2025-11-03 03:11:12 +00:00 
			
		
		
		
	Print model when it shows VSP
This commit is contained in:
		
							parent
							
								
									c0ef204e48
								
							
						
					
					
						commit
						68788ecff6
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -304,6 +304,7 @@ if __name__ == "__main__":
 | 
			
		|||
    solutions: List[Model] = parse_matrices(SourceFile(sys.stdin))
 | 
			
		||||
    print(f"Parsed {len(solutions)} matrices")
 | 
			
		||||
    for i, (model, interpretation) in enumerate(solutions):
 | 
			
		||||
        if args['verbose']:
 | 
			
		||||
        vsp_result = has_vsp(model, interpretation)
 | 
			
		||||
        print(vsp_result)
 | 
			
		||||
        if args['verbose'] or vsp_result.has_vsp:
 | 
			
		||||
            print(model)
 | 
			
		||||
        print(has_vsp(model, interpretation))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue