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

Add DES python bindings #508

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

VanyaVolgushev
Copy link
Contributor

No description provided.

@VanyaVolgushev VanyaVolgushev force-pushed the add-des-bindings-release branch from f909e81 to 951faac Compare January 3, 2025 22:50
@VanyaVolgushev VanyaVolgushev marked this pull request as ready for review January 3, 2025 23:05
@VanyaVolgushev VanyaVolgushev force-pushed the add-des-bindings-release branch from 951faac to 3395d12 Compare January 7, 2025 17:52
@chernishev chernishev requested a review from BUYT-1 January 7, 2025 19:24
@VanyaVolgushev VanyaVolgushev force-pushed the add-des-bindings-release branch 2 times, most recently from 637813d to b93e464 Compare January 10, 2025 13:09
examples/basic/mining_nar.py Outdated Show resolved Hide resolved
src/python_bindings/nar/bind_nar.cpp Outdated Show resolved Hide resolved
src/python_bindings/nar/bind_nar.cpp Outdated Show resolved Hide resolved
@VanyaVolgushev VanyaVolgushev force-pushed the add-des-bindings-release branch from deb8a64 to 4494df5 Compare January 15, 2025 12:43
@VanyaVolgushev VanyaVolgushev requested a review from BUYT-1 January 15, 2025 12:43
Comment on lines +48 to +55
auto const& GetAnte() const {
return ante_;
}

auto const& GetCons() const {
return cons_;
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also can be marked as noexcept

#include "algorithms/nar/value_range.h"
#include "py_util/bind_primitive.h"

namespace {
Copy link
Contributor

@xJoskiy xJoskiy Jan 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need an anonymous namespace?

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

Successfully merging this pull request may close these issues.

3 participants