Skip to content

Commit

Permalink
Fix compilation of neighborhood class
Browse files Browse the repository at this point in the history
The previous commit 7f29ca2 built
under GCC but broke compiling
under Visual Studio. GCC disallowed
the static constexpr variable in a
function, but MSVC was more strict
about the order in which templates
were defined.

The neighborhood classes are not
split into a lower level (MoveData and
NeighborhoodData) and an upper
level (Move and Neighborhood)
establishing an ordering of template
definitions that satisfies MSVC.

Also updated the python scripts due
to problems checking paths with
backslashes.
  • Loading branch information
rhysgoldstein committed Feb 1, 2024
1 parent 7f29ca2 commit 24751ae
Show file tree
Hide file tree
Showing 4 changed files with 158 additions and 124 deletions.
Loading

0 comments on commit 24751ae

Please sign in to comment.