Skip to content

Commit fc9586c

Browse files
binfhe_bindings cleanup (2)
1 parent d9e6784 commit fc9586c

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

src/include/binfhe/binfhecontext_wrapper.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,9 @@
3131
#ifndef __BINFHECONTEXT_WRAPPER_H__
3232
#define __BINFHECONTEXT_WRAPPER_H__
3333

34-
#include <pybind11/pybind11.h>
35-
#include <pybind11/stl.h>
36-
#include "openfhe.h"
3734
#include "binfhecontext.h"
38-
#include <functional>
35+
36+
#include <pybind11/pybind11.h>
3937
#include <pybind11/functional.h>
4038

4139
namespace py = pybind11;

src/lib/bindings.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@
3030
//==================================================================================
3131
#include "bindings.h"
3232

33+
#include "openfhe.h"
34+
35+
#include "key/key-ser.h"
36+
#include "binfhe_bindings.h"
37+
3338
#include <pybind11/stl.h>
3439
#include <pybind11/stl_bind.h>
3540
#include <pybind11/complex.h>
3641
#include <pybind11/functional.h>
37-
#include <pybind11/operators.h>
3842
#include <pybind11/iostream.h>
3943

40-
#include "openfhe.h"
41-
42-
#include "key/key-ser.h"
43-
#include "binfhe_bindings.h"
4444

4545
#include "cryptocontext_docs.h"
4646
#include "cryptoparameters_docs.h"

src/lib/binfhe/binfhecontext_wrapper.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@
2828
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2929
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3030
//==================================================================================
31-
#include <pybind11/pybind11.h>
32-
#include <pybind11/stl.h>
3331
#include <openfhe.h>
3432
#include "binfhecontext_wrapper.h"
3533

34+
#include <pybind11/pybind11.h>
35+
#include <pybind11/stl.h>
36+
3637
using namespace lbcrypto;
3738
namespace py = pybind11;
3839

src/lib/binfhe_bindings.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@
3030
//==================================================================================
3131
#include "binfhe_bindings.h"
3232

33-
#include <pybind11/operators.h>
34-
3533
#include "openfhe.h"
3634
#include "binfhecontext.h"
3735
#include "binfhecontext_docs.h"
3836
#include "binfhecontext_wrapper.h"
3937

38+
#include <pybind11/stl.h>
39+
#include <pybind11/operators.h>
40+
4041
#include "cereal/archives/binary.hpp"
4142

4243
using namespace lbcrypto;

0 commit comments

Comments
 (0)