Skip to content
This repository was archived by the owner on Dec 16, 2021. It is now read-only.

Commit 704439f

Browse files
committed
fix python module name
1 parent a3205b7 commit 704439f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

fec_hash.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/python
22

3-
import fecpp as fec
3+
import pyfecpp as fec
44
import md5
55

66
k = 3

fecpp_python.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ boost::python::list fec_decode(fec_code* code,
7272
return fec_saver.get_results();
7373
}
7474

75-
BOOST_PYTHON_MODULE(fecpp)
75+
BOOST_PYTHON_MODULE(pyfecpp)
7676
{
7777
boost::python::class_<fec_code>
7878
("fec_code", boost::python::init<size_t, size_t>())

test_decode.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/usr/bin/python
22

3-
import fecpp
3+
import pyfecpp
44
import random
55

6-
c = fecpp.fec_code(3,10)
6+
c = pyfecpp.fec_code(3,10)
77

88
shares = c.encode('abcdef012345')
99

0 commit comments

Comments
 (0)