cnfgen icon indicating copy to clipboard operation
cnfgen copied to clipboard

Do not display a warning when shuffling a file passed through -i

Open marcvinyals opened this issue 1 year ago • 0 comments

Currently calling cnfshuffle -i file.cnf prints a warning saying that it is waiting for a DIMACS file on stdin, even though it received the input correctly and it is working on it. This causes confusion on large inputs. This patch disables that warning when the input comes from a file, while keeping it when reading from stdin.

marcvinyals avatar May 12 '23 01:05 marcvinyals