diff --git a/CMakeLists.txt b/CMakeLists.txt index 56be9d3..c54a2ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.13 FATAL_ERROR) -project(libpressio VERSION "0.55.1" LANGUAGES CXX C) +project(libpressio VERSION "0.55.2" LANGUAGES CXX C) #correct was to set a default build type # https://blog.kitware.com/cmake-and-the-default-build-type/ diff --git a/COPYRIGHT.txt b/COPYRIGHT.txt index 76bf7ce..2663a0e 100644 --- a/COPYRIGHT.txt +++ b/COPYRIGHT.txt @@ -1,6 +1,6 @@ Copyright © 2021 , UChicago Argonne, LLC All Rights Reserved -[libpressio, Version 0.55.1] +[libpressio, Version 0.55.2] Robert Underwood Argonne National Laboratory diff --git a/swig/libpressio.py b/swig/libpressio.py index 7ea5711..17ac350 100644 --- a/swig/libpressio.py +++ b/swig/libpressio.py @@ -65,7 +65,7 @@ def _compute_path(path, key): def to_libpressio(x): op = None if isinstance(value, np.ndarray): - value_lp = pressio.io_data_to_numpy(value) + value_lp = pressio.io_data_from_numpy(value) op = pressio.option_new_data(value_lp) pressio.data_free(value_lp) elif isinstance(value, list):