Coder Social home page Coder Social logo

Comments (6)

Piezoid avatar Piezoid commented on July 18, 2024

I think we can safely remove the template keyword in those cases.
It was useful before the refactoring removing template arguments to predecessors/successors.

from gatb-core.

clemaitre avatar clemaitre commented on July 18, 2024

Thanks for the quick answer,
it compiled when I removed the template keyword in the following 4 instructions:

gatb-core/src/gatb/debruijn/impl/BranchingAlgorithm.cpp:155
gatb-core/src/gatb/debruijn/impl/BranchingAlgorithm.cpp:154
gatb-core/src/gatb/debruijn/impl/Terminator.cpp:49
gatb-core/src/gatb/debruijn/impl/Terminator.cpp:199

Can you check if this is safe also in Terminator.cpp ?

Claire

from gatb-core.

Piezoid avatar Piezoid commented on July 18, 2024

Yes it is safe.

Worst case is the compiler complaining about template dependent name that prevent the compiler to infer if the name is a template (needs template) a type (needs typename) or a variable.
A change is semantics is really unlikely.

from gatb-core.

rchikhi avatar rchikhi commented on July 18, 2024

Please go ahead and commit the fix to gatb-core, if you can, one of you two :)

from gatb-core.

clemaitre avatar clemaitre commented on July 18, 2024

Hi Rayan,

I am about to commit... but it seems that this may erase your last visisble commit on github (f25f57b) which is not on the gforge repo : when I git pull from the gforge I fall on f58d96b, did you commit directly on github, forgetting about the gforge ?

Claire

from gatb-core.

rchikhi avatar rchikhi commented on July 18, 2024

oh you're right! thanks for letting me know. some mistake from my part. I've now pushed my commit to gforge, you can now pull (and git rebase -i to avoid the merge) and commit on top of my last commit

from gatb-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.