File tree 7 files changed +10
-14
lines changed
7 files changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -5,23 +5,19 @@ Changelog
5
5
6
6
0.6.2-alpha
7
7
-----------
8
- **Date: ** TBA
8
+ **Date: ** 2018-09-25
9
9
10
- [Title]
10
+ Python Stride: Regression
11
11
12
- [Summary]
12
+ A regression in the last fix for python strides made the relaxation not efficient for 2-D and higher.
13
13
14
14
Changes to "0.6.1-alpha"
15
15
^^^^^^^^^^^^^^^^^^^^^^^^
16
16
17
- Features
18
- """"""""
19
-
20
17
Bug Fixes
21
18
"""""""""
22
19
23
- Other
24
- """""
20
+ - Python: relax strides further
25
21
26
22
27
23
0.6.1-alpha
Original file line number Diff line number Diff line change 2
2
#
3
3
cmake_minimum_required (VERSION 3.10.0)
4
4
5
- project (openPMD VERSION 0.6.1 ) # LANGUAGES CXX
5
+ project (openPMD VERSION 0.6.2 ) # LANGUAGES CXX
6
6
7
7
# the openPMD "markup"/"schema" standard version
8
8
set (openPMD_STANDARD_VERSION 1.1.0)
Original file line number Diff line number Diff line change 80
80
# The short X.Y version.
81
81
version = u'0.6.2'
82
82
# The full version, including alpha/beta/rc tags.
83
- release = u'0.6.2-dev '
83
+ release = u'0.6.2-alpha '
84
84
85
85
# The language for content autogenerated by Sphinx. Refer to documentation
86
86
# for a list of supported languages.
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ The supported version of the `openPMD standard <https://github.com/openPMD/openP
38
38
======================= ===================================
39
39
openPMD-api version supported openPMD standard versions
40
40
======================= ===================================
41
- ``0.1.0-0.6.1 `` (alpha) ``1.0.0-1.1.0 ``
41
+ ``0.1.0-0.6.2 `` (alpha) ``1.0.0-1.1.0 ``
42
42
``1.0.0+ `` ``1.0.1-1.1.0 `` (not released yet)
43
43
``2.0.0+ `` ``2.0.0+ `` (not released yet)
44
44
======================= ===================================
Original file line number Diff line number Diff line change 24
24
#define OPENPMDAPI_VERSION_MAJOR 0
25
25
#define OPENPMDAPI_VERSION_MINOR 6
26
26
#define OPENPMDAPI_VERSION_PATCH 2
27
- #define OPENPMDAPI_VERSION_LABEL " dev "
27
+ #define OPENPMDAPI_VERSION_LABEL " alpha "
28
28
29
29
// maximum supported version of the openPMD standard (read & write)
30
30
#define OPENPMD_STANDARD_MAJOR 1
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ bool setAttributeFromBufferInfo(
128
128
{
129
129
if ( buf.ndim == 1u && buf.strides [0 ] > buf.shape [0 ] * buf.itemsize )
130
130
; // ok in 1D
131
- else if ( buf.strides [0 ] == buf.itemsize )
131
+ else if ( buf.strides [d ] == buf.itemsize )
132
132
; // ok to stride on an element level
133
133
else
134
134
throw std::runtime_error (" set_attribute: "
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ void init_RecordComponent(py::module &m) {
243
243
{
244
244
if ( a.ndim () == 1u && a.strides ()[0 ] > a.shape ()[0 ] * a.itemsize () )
245
245
; // ok in 1D
246
- else if ( a.strides ()[0 ] == a.itemsize () )
246
+ else if ( a.strides ()[d ] == a.itemsize () )
247
247
; // ok to stride on an element level
248
248
else
249
249
throw std::runtime_error (" store_chunk: "
You can’t perform that action at this time.
0 commit comments