Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# ndarray change log

## 1.5.2

### Bug fixes

Fix compilation issues with newer compiler versions.

## 1.5.1

### Bug fixes
Expand Down
6 changes: 1 addition & 5 deletions include/ndarray/ArrayBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,7 @@ class ArrayBase : public ExpressionBase<Derived> {

/// @brief Return a single element from the array.
Element & operator[](Index const & i) const {
return *(this->_data + this->_core->
#ifndef _MSC_VER
template
#endif
computeOffset(i));
return *(this->_data + this->_core->computeOffset(i));
}

/// @brief Return an Iterator to the beginning of the array.
Expand Down
1 change: 1 addition & 0 deletions include/ndarray/Vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <boost/type_traits/is_arithmetic.hpp>
#include <boost/iterator/reverse_iterator.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_convertible.hpp>
#include <boost/mpl/int.hpp>
#include <boost/preprocessor/repetition/repeat.hpp>
#include <boost/preprocessor/repetition/repeat_from_to.hpp>
Expand Down
Loading