Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6da723's change prevents bedcov-iitree-bfs from compiling #15

Open
xfengnefx opened this issue Jul 13, 2023 · 0 comments
Open

6da723's change prevents bedcov-iitree-bfs from compiling #15

xfengnefx opened this issue Jul 13, 2023 · 0 comments

Comments

@xfengnefx
Copy link

Hi,

6da723 (fixes #7) introduced if (max_level < 0) return false; into cpp/IITreeBFS.h , but max_level is only defined & used in the IITree class of cpp/IITree.h ...?

On current head (2fb5a2):

$ make
g++ -g -Wall -O3 -D_USE_BFS -std=c++98 -I.. -I../cpp bedcov-iitree.cpp -lz -o bedcov-iitree-bfs
In file included from bedcov-iitree.cpp:6:
../cpp/IITreeBFS.h: In member function ‘bool IITree<S, T>::overlap(const S&, const S&, std::vector<long unsigned int>&) const’:
../cpp/IITreeBFS.h:65:7: error: ‘max_level’ was not declared in this scope
   65 |   if (max_level < 0) return false;
      |       ^~~~~~~~~
make: *** [bedcov-iitree-bfs] Error 1

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant