Skip to content
Snippets Groups Projects
  1. Sep 06, 2016
  2. Sep 05, 2016
  3. Sep 03, 2016
  4. Sep 02, 2016
  5. Sep 01, 2016
  6. Aug 31, 2016
    • Vasileios Karakasis's avatar
      Custom distance() function. · 8005cada
      Vasileios Karakasis authored
      This new `util:distance()` operating on an iterator `I` and a sentinel
      `S`. It reverts to `std::distance()` if `I==S`, otherwise it increments
      iterator sequentially until it reaches the sentinel and returns the number of
      total increments.
      
      Also removed tests for ranges with `l>r`.
      8005cada
  7. Aug 29, 2016
  8. Aug 27, 2016
  9. Aug 25, 2016
  10. Aug 24, 2016
  11. Aug 23, 2016
    • Benjamin Cumming's avatar
      Support for multi-threaded sort · 4376306e
      Benjamin Cumming authored
      * `nest::mc::threading::sort` is analogous to `std::sort`
          * when using TBB the `tbb::parallel_sort` is used
          * otherwise `std::sort` is used
      * used to parallelise connection construction during setup
          * now all initialization and simulation is multi-threaded
      * added a unit test
      4376306e
    • Benjamin Cumming's avatar
      fix issues with Intel Compiler and optimized builds · 99119e5f
      Benjamin Cumming authored
      * replace a call to `std::iota` with a for loop because the Intel
      compiler was optimizing out the `std::iota` call in a unit test.
      * add uniform syntax for converting pointer+size and ArrayView+size
      into an ArrayView to provide uniform method for accessing ranges
      inside mechanisms with/without optimizations.
      99119e5f
  12. Aug 22, 2016
  13. Aug 19, 2016
    • Sam Yates's avatar
      Address PR#83 review · 0ecd0238
      Sam Yates authored
      * Makes EXPECTS() fail handler a global, settable function pointer.
      * Fix `util::upto` for bidirectional iterators with begin==end.
      * Use `std::string` in error reporting with `either` in `partition_view`
        to correct incorrect default conversion in return value.
      * Correct return types for `util::range::operator[]` and `util::range::at()`
      * `transform_iterator` requires only iterator==sentinel test for correct sentinel
        behaviour.
      * Extend partition tests to cover:
        * partition views over short (length) sequences,
        * non-numeric partitions,
        * throw on validation check of non-monotonic sequence,
        * make_partition with short and long size sequences, short division containers.
      * Extend range tests to cover:
        * compatibility with `std::accumulate`,
        * correct constness of dereferences with respect to wrapped iterators,
        * proper type deduction for `make_range` over pointers.
      * Extend span tests to cover:
        * span creation from `std::pair`,
        * proper type promotion with heterogeneous bounds.
      0ecd0238