Fix barriers to compiling on Windows with MSVC -- tested with MSVC 2019. These include:
Missing headers
Type narrowing and bad implicit casts.
Several operations on Graph use the std::vector::size, as do indices -- using int for these makes overflow possible. This changes many but not all instances of these implicit casts.
Fix barriers to compiling on Windows with MSVC -- tested with MSVC 2019. These include:
Several operations on
Graph
use thestd::vector::size
, as do indices -- usingint
for these makes overflow possible. This changes many but not all instances of these implicit casts.All tests pass.