Skip to content

Commit 564f3cb

Browse files
committed
libpressio version 0.55.2
Bug Fix + higher level python bindings now accept numpy ndarrays as arguments
1 parent bedc555 commit 564f3cb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
2-
project(libpressio VERSION "0.55.1" LANGUAGES CXX C)
2+
project(libpressio VERSION "0.55.2" LANGUAGES CXX C)
33

44
#correct was to set a default build type
55
# https://blog.kitware.com/cmake-and-the-default-build-type/

COPYRIGHT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Copyright © 2021 , UChicago Argonne, LLC
22
All Rights Reserved
3-
[libpressio, Version 0.55.1]
3+
[libpressio, Version 0.55.2]
44
Robert Underwood
55
Argonne National Laboratory
66

swig/libpressio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def _compute_path(path, key):
6565
def to_libpressio(x):
6666
op = None
6767
if isinstance(value, np.ndarray):
68-
value_lp = pressio.io_data_to_numpy(value)
68+
value_lp = pressio.io_data_from_numpy(value)
6969
op = pressio.option_new_data(value_lp)
7070
pressio.data_free(value_lp)
7171
elif isinstance(value, list):

0 commit comments

Comments
 (0)