Skip to content

Commit

Permalink
Merge branch 'master' into 67-cyclotomic-modular-ops
Browse files Browse the repository at this point in the history
  • Loading branch information
nemothenoone authored Apr 20, 2024
2 parents 139d4b0 + 0db22ac commit a18399b
Show file tree
Hide file tree
Showing 27 changed files with 726 additions and 617 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/publish-results.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Needed to publish test results in fork
name: Testing Callback

on:
workflow_run:
workflows: ["PR Testing"]
types:
- completed

jobs:
call-reusable-workflow:
name: Call Reusable Testing Callback Workflow
uses: NilFoundation/ci-cd/.github/workflows/reusable-crypto3-publish-result.yml@v1
24 changes: 24 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: PR Testing

on:
pull_request:
types:
- opened
- synchronize

jobs:
handle-syncwith:
name: Call Reusable SyncWith Handler
uses: NilFoundation/ci-cd/.github/workflows/[email protected]
with:
ci-cd-ref: 'v1.1.2'
secrets: inherit

matrix-test:
name: Call Reusable Crypto3 Testing
needs:
- handle-syncwith
uses: NilFoundation/ci-cd/.github/workflows/[email protected]
with:
submodules-refs: ${{ needs.handle-syncwith.outputs.prs-refs }}
secrets: inherit
60 changes: 0 additions & 60 deletions include/nil/crypto3/detail/inline_variable.hpp

This file was deleted.

75 changes: 0 additions & 75 deletions include/nil/crypto3/detail/make_array.hpp

This file was deleted.

63 changes: 0 additions & 63 deletions include/nil/crypto3/detail/make_uint_t.hpp

This file was deleted.

46 changes: 0 additions & 46 deletions include/nil/crypto3/detail/state_adder.hpp

This file was deleted.

76 changes: 0 additions & 76 deletions include/nil/crypto3/detail/unbounded_shift.hpp

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ namespace nil {
*/
template<typename FieldType, typename ValueType = typename FieldType::value_type>
std::shared_ptr<evaluation_domain<FieldType, ValueType>> make_evaluation_domain(std::size_t m) {

typedef std::shared_ptr<evaluation_domain<FieldType, ValueType>> result_type;

const std::size_t big = 1ul << (std::size_t(std::ceil(std::log2(m))) - 1);
Expand Down
2 changes: 1 addition & 1 deletion include/nil/crypto3/math/detail/field_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace nil {

using namespace nil::crypto3::algebra;

std::size_t bitreverse(std::size_t n, const std::size_t l) {
inline std::size_t bitreverse(std::size_t n, const std::size_t l) {
std::size_t r = 0;
for (std::size_t k = 0; k < l; ++k) {
r = (r << 1) | (n & 1);
Expand Down
Loading

0 comments on commit a18399b

Please sign in to comment.