File tree Expand file tree Collapse file tree 7 files changed +10
-14
lines changed Expand file tree Collapse file tree 7 files changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -5,23 +5,19 @@ Changelog
55
660.6.2-alpha
77-----------
8- **Date: ** TBA
8+ **Date: ** 2018-09-25
99
10- [Title]
10+ Python Stride: Regression
1111
12- [Summary]
12+ A regression in the last fix for python strides made the relaxation not efficient for 2-D and higher.
1313
1414Changes to "0.6.1-alpha"
1515^^^^^^^^^^^^^^^^^^^^^^^^
1616
17- Features
18- """"""""
19-
2017Bug Fixes
2118"""""""""
2219
23- Other
24- """""
20+ - Python: relax strides further
2521
2622
27230.6.1-alpha
Original file line number Diff line number Diff line change 22#
33cmake_minimum_required (VERSION 3.10.0)
44
5- project (openPMD VERSION 0.6.1 ) # LANGUAGES CXX
5+ project (openPMD VERSION 0.6.2 ) # LANGUAGES CXX
66
77# the openPMD "markup"/"schema" standard version
88set (openPMD_STANDARD_VERSION 1.1.0)
Original file line number Diff line number Diff line change 8080# The short X.Y version.
8181version = u'0.6.2'
8282# The full version, including alpha/beta/rc tags.
83- release = u'0.6.2-dev '
83+ release = u'0.6.2-alpha '
8484
8585# The language for content autogenerated by Sphinx. Refer to documentation
8686# 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
3838======================= ===================================
3939openPMD-api version supported openPMD standard versions
4040======================= ===================================
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 ``
4242``1.0.0+ `` ``1.0.1-1.1.0 `` (not released yet)
4343``2.0.0+ `` ``2.0.0+ `` (not released yet)
4444======================= ===================================
Original file line number Diff line number Diff line change 2424#define OPENPMDAPI_VERSION_MAJOR 0
2525#define OPENPMDAPI_VERSION_MINOR 6
2626#define OPENPMDAPI_VERSION_PATCH 2
27- #define OPENPMDAPI_VERSION_LABEL " dev "
27+ #define OPENPMDAPI_VERSION_LABEL " alpha "
2828
2929// maximum supported version of the openPMD standard (read & write)
3030#define OPENPMD_STANDARD_MAJOR 1
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ bool setAttributeFromBufferInfo(
128128 {
129129 if ( buf.ndim == 1u && buf.strides [0 ] > buf.shape [0 ] * buf.itemsize )
130130 ; // ok in 1D
131- else if ( buf.strides [0 ] == buf.itemsize )
131+ else if ( buf.strides [d ] == buf.itemsize )
132132 ; // ok to stride on an element level
133133 else
134134 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) {
243243 {
244244 if ( a.ndim () == 1u && a.strides ()[0 ] > a.shape ()[0 ] * a.itemsize () )
245245 ; // ok in 1D
246- else if ( a.strides ()[0 ] == a.itemsize () )
246+ else if ( a.strides ()[d ] == a.itemsize () )
247247 ; // ok to stride on an element level
248248 else
249249 throw std::runtime_error (" store_chunk: "
You can’t perform that action at this time.
0 commit comments