Skip to content

Commit

Permalink
pragma once removed
Browse files Browse the repository at this point in the history
  • Loading branch information
vo-nil committed Dec 2, 2024
1 parent 3516acc commit e3f0d60
Show file tree
Hide file tree
Showing 30 changed files with 0 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_ZK_SNARK_ACCUMULATION_VECTOR_HPP
#define PARALLEL_CRYPTO3_ZK_SNARK_ACCUMULATION_VECTOR_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,13 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MERKLE_TREE_NODE_HPP
#define PARALLEL_CRYPTO3_MERKLE_TREE_NODE_HPP

#ifdef CRYPTO3_MERKLE_TREE_NODE_HPP
#error "You're mixing parallel and non-parallel crypto3 versions"
#endif


#include <numeric>

namespace nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MERKLE_PROOF_HPP
#define PARALLEL_CRYPTO3_MERKLE_PROOF_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,13 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MERKLE_TREE_HPP
#define PARALLEL_CRYPTO3_MERKLE_TREE_HPP

#ifdef CRYPTO3_MERKLE_TREE_HPP
#error "You're mixing parallel and non-parallel crypto3 versions"
#endif


#include <vector>
#include <cmath>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
// @file Declaration of interfaces for a sparse vector.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_ZK_SPARSE_VECTOR_HPP
#define PARALLEL_CRYPTO3_ZK_SPARSE_VECTOR_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_CALCULATE_DOMAIN_SET_HPP
#define PARALLEL_CRYPTO3_MATH_CALCULATE_DOMAIN_SET_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_MAKE_EVALUATION_DOMAIN_HPP
#define PARALLEL_CRYPTO3_MATH_MAKE_EVALUATION_DOMAIN_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_UNITY_ROOT_HPP
#define PARALLEL_CRYPTO3_MATH_UNITY_ROOT_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_COSET_HPP
#define PARALLEL_CRYPTO3_MATH_COSET_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_FIELD_UTILS_HPP
#define PARALLEL_CRYPTO3_MATH_FIELD_UTILS_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_ARITHMETIC_SEQUENCE_DOMAIN_HPP
#define PARALLEL_CRYPTO3_MATH_ARITHMETIC_SEQUENCE_DOMAIN_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_BASIC_RADIX2_DOMAIN_HPP
#define PARALLEL_CRYPTO3_MATH_BASIC_RADIX2_DOMAIN_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_BASIC_RADIX2_DOMAIN_AUX_HPP
#define PARALLEL_CRYPTO3_MATH_BASIC_RADIX2_DOMAIN_AUX_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_EVALUATION_DOMAIN_HPP
#define PARALLEL_CRYPTO3_MATH_EVALUATION_DOMAIN_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_EXTENDED_RADIX2_DOMAIN_HPP
#define PARALLEL_CRYPTO3_MATH_EXTENDED_RADIX2_DOMAIN_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_GEOMETRIC_SEQUENCE_DOMAIN_HPP
#define PARALLEL_CRYPTO3_MATH_GEOMETRIC_SEQUENCE_DOMAIN_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_STEP_RADIX2_DOMAIN_HPP
#define PARALLEL_CRYPTO3_MATH_STEP_RADIX2_DOMAIN_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_KRONECKER_SUBSTITUTION_HPP
#define PARALLEL_CRYPTO3_MATH_KRONECKER_SUBSTITUTION_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_POLYNOMIAL_BASIC_OPERATIONS_HPP
#define PARALLEL_CRYPTO3_MATH_POLYNOMIAL_BASIC_OPERATIONS_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_BASIS_CHANGE_HPP
#define PARALLEL_CRYPTO3_MATH_BASIS_CHANGE_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_CYCLOTOMIC_HPP
#define PARALLEL_CRYPTO3_MATH_CYCLOTOMIC_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_EVALUATE_HPP
#define PARALLEL_CRYPTO3_MATH_EVALUATE_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_LAGRANGE_INTERPOLATION_HPP
#define PARALLEL_CRYPTO3_MATH_LAGRANGE_INTERPOLATION_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_POLYNOMIAL_POLYNOM_HPP
#define PARALLEL_CRYPTO3_MATH_POLYNOMIAL_POLYNOM_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_POLYNOMIAL_POLYNOM_DFT_HPP
#define PARALLEL_CRYPTO3_MATH_POLYNOMIAL_POLYNOM_DFT_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_POLYNOMIAL_POLYNOM_DFS_VIEW_HPP
#define PARALLEL_CRYPTO3_MATH_POLYNOMIAL_POLYNOM_DFS_VIEW_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_POLYNOMIAL_POLYNOM_VIEW_HPP
#define PARALLEL_CRYPTO3_MATH_POLYNOMIAL_POLYNOM_VIEW_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_POLYNOMIAL_SHIFT_HPP
#define PARALLEL_CRYPTO3_MATH_POLYNOMIAL_SHIFT_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_XGCD_HPP
#define PARALLEL_CRYPTO3_MATH_XGCD_HPP

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#pragma once

#ifndef PARALLEL_CRYPTO3_MATH_TYPE_TRAITS_HPP
#define PARALLEL_CRYPTO3_MATH_TYPE_TRAITS_HPP

Expand Down

0 comments on commit e3f0d60

Please sign in to comment.