Skip to content

Commit

Permalink
Prepare for v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bjodah committed Sep 4, 2017
1 parent 0466ede commit a0fbbf9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v0.8.0
======
- Use new (templated) AnyODE.
- Fix back-stepping logic in adaptive.

v0.7.6
======
- return nreached in parallel predefined
Expand Down
4 changes: 1 addition & 3 deletions external/anyode/include/anyode/anyode_buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

namespace AnyODE {

#ifdef NDEBUG
#if __cplusplus >= 201402L
using std::make_unique;
#else
Expand Down Expand Up @@ -35,9 +36,6 @@ namespace AnyODE {
}
#endif


#ifdef NDEBUG

template<typename T> using buffer_t = std::unique_ptr<T[]>;
template<typename T> using buffer_ptr_t = T*;
template<typename T> constexpr T* buffer_get_raw_ptr(buffer_t<T>& buf) {
Expand Down
2 changes: 1 addition & 1 deletion external/anyode/include/anyode/anyode_matrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace AnyODE {
if (m_own_data and m_data)
free(m_data);
}
virtual Real_t& operator()(int /* ri */, int /* ci */) { throw std::runtime_error("Not implemented."); };
virtual Real_t& operator()(int /* ri */, int /* ci */) { throw std::runtime_error("Not implemented."); }
const Real_t& operator()(int ri, int ci) const { return (*const_cast<MatrixBase<Real_t>* >(this))(ri, ci); }
virtual bool valid_index(const int ri, const int ci) const {
return (0 <= ri) and (ri < this->m_nr) and (0 <= ci) and (ci < this->m_nc);
Expand Down
2 changes: 1 addition & 1 deletion scripts/post_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sed -i -E \
# Specific for this project:
scp -r dist/conda-recipe-$VERSION/ $PKG@$SERVER:~/public_html/conda-recipes/
scp "$SDIST_FILE" "$PKG@$SERVER:~/public_html/releases/"
for CONDA_PY in 2.7 3.4 3.5; do
for CONDA_PY in 2.7 3.5 3.6; do
for CONDA_NPY in 1.11; do
ssh $PKG@$SERVER "source /etc/profile; conda-build --python $CONDA_PY --numpy $CONDA_NPY ~/public_html/conda-recipes/conda-recipe-$VERSION/"
done
Expand Down

0 comments on commit a0fbbf9

Please sign in to comment.