Skip to content

Releases: stasaki/peer

v1.4.1 — Eigen 3.4 Upgrade & API Consistency

10 Mar 17:17

Choose a tag to compare

Changes

  • Upgrade bundled Eigen 2.92 → 3.4.0: Modern C++ compatibility, cleaner compilation (removes -Wno-deprecated, -Wno-enum-compare flags). No API or behavioral changes — drop-in header replacement.
  • PEER_setNThreads / PEER_getNThreads now take model as first argument: Consistent with all other PEER methods (e.g., PEER_setNk(model, k)).
    • Before: PEER_setNThreads(4)
    • After: PEER_setNThreads(model, 4)

Includes all v1.4.0 features

  • OpenMP parallelization (3–10x speedup at 4–16 threads)
  • R-controlled RNG via set.seed() for reproducibility
  • Ctrl+C interrupt support
  • Improved verbose output with timing

Verification

  • All 25 tests pass
  • Performance identical to Eigen 2.92 (within measurement noise)

v1.3.1 — Modern Compiler Support

10 Mar 16:37

Choose a tag to compare

Patched fork of PEER v1.3 that compiles with modern C++ compilers (g++ 11+, C++17).

No behavior changes from the original PEER — results are identical.

Fixes

  • Fixed Eigen 2.92 EIGEN_ASM_COMMENT macro syntax for C++11+
  • Suppressed deprecated register keyword and std::binder1st/2nd warnings
  • Removed pre-compiled libpeer.so from source tree
  • Modernized .First.lib to .onLoad

Install

remotes::install_github("stasaki/peer@v1.3.1")