Closed jameshcorbett closed 1 month ago
Problem: if a vertex's ID is -1 in JGF, the reader will supply it with a default value. However, sometimes -1 is desired.
Do not replace an ID of -1 with a default value when reading in JGF. Instead use -2 as the signpost that no ID was supplied.
Fixes #1303
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 75.3%. Comparing base (cc2dcf0) to head (d03405f). Report is 2 commits behind head on master.
cc2dcf0
d03405f
Problem: if a vertex's ID is -1 in JGF, the reader will supply it with a default value. However, sometimes -1 is desired.
Do not replace an ID of -1 with a default value when reading in JGF. Instead use -2 as the signpost that no ID was supplied.
Fixes #1303