summaryrefslogtreecommitdiffstats
path: root/src/Python
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2017-08-23 15:10:04 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2017-10-11 15:48:34 +0100
commit9f8fb57e1e89c1ad200d9c7eada5c653be34db66 (patch)
treecddb0eb22c8f6e09c1da8521cbd8d379d1be9fc5 /src/Python
parent1a841b967e1db92a04e8e12c52b83489da27be1c (diff)
downloadregularization-9f8fb57e1e89c1ad200d9c7eada5c653be34db66.tar.gz
regularization-9f8fb57e1e89c1ad200d9c7eada5c653be34db66.tar.bz2
regularization-9f8fb57e1e89c1ad200d9c7eada5c653be34db66.tar.xz
regularization-9f8fb57e1e89c1ad200d9c7eada5c653be34db66.zip
module rename
Diffstat (limited to 'src/Python')
-rw-r--r--src/Python/fista_module.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Python/fista_module.cpp b/src/Python/fista_module.cpp
index eacda3d..c36329e 100644
--- a/src/Python/fista_module.cpp
+++ b/src/Python/fista_module.cpp
@@ -1032,13 +1032,13 @@ bp::list TGV_PD(np::ndarray input, double d_lambda, double d_alpha1, double d_al
return result;
}
-BOOST_PYTHON_MODULE(regularizers)
+BOOST_PYTHON_MODULE(cpu_regularizers)
{
np::initialize();
//To specify that this module is a package
bp::object package = bp::scope();
- package.attr("__path__") = "regularizers";
+ package.attr("__path__") = "cpu_regularizers";
np::dtype dt1 = np::dtype::get_builtin<uint8_t>();
np::dtype dt2 = np::dtype::get_builtin<uint16_t>();