Skip to content

Commit

Permalink
change includes in the innerproduct example
Browse files Browse the repository at this point in the history
Instead of relative imports, we now use the form
`#include <abycore/...>`.
  • Loading branch information
lenerd committed Sep 30, 2018
1 parent f081999 commit 0e5f724
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/examples/innerproduct/common/innerproduct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*/

#include "innerproduct.h"
#include "../../../abycore/sharing/sharing.h"
#include "../../../abycore/MATRIX/MatrixMeasurement.h"
#include <abycore/sharing/sharing.h>
#include <abycore/MATRIX/MatrixMeasurement.h>

int32_t test_inner_product_circuit(e_role role, const std::string& address, uint16_t port, seclvl seclvl,
uint32_t nvals, uint32_t bitlen, uint32_t nthreads, e_mt_gen_alg mt_alg,
Expand Down
8 changes: 4 additions & 4 deletions src/examples/innerproduct/common/innerproduct.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
#ifndef __INNERPRODUCT_H_
#define __INNERPRODUCT_H_

#include "../../../abycore/circuit/booleancircuits.h"
#include "../../../abycore/circuit/arithmeticcircuits.h"
#include "../../../abycore/circuit/circuit.h"
#include "../../../abycore/aby/abyparty.h"
#include <abycore/circuit/booleancircuits.h>
#include <abycore/circuit/arithmeticcircuits.h>
#include <abycore/circuit/circuit.h>
#include <abycore/aby/abyparty.h>
#include <math.h>
#include <cassert>

Expand Down
2 changes: 1 addition & 1 deletion src/examples/innerproduct/innerproduct_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <ENCRYPTO_utils/crypto/crypto.h>
#include <ENCRYPTO_utils/parse_options.h>
//ABY Party class
#include "../../abycore/aby/abyparty.h"
#include <abycore/aby/abyparty.h>

#include "common/innerproduct.h"

Expand Down

0 comments on commit 0e5f724

Please sign in to comment.