* installing *source* package 'psqn' ...
** this is package 'psqn' version '0.3.2'
** package 'psqn' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 14.2.0'
make[1]: Entering directory '/d/temp/2025_10_26_01_50_00_14777/Rtmpe0yh30/R.INSTALL9bf4722a7aca/psqn/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include' -I'D:/RCompile/CRANpkg/lib/4.5/testthat/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I../inst/include/ -fopenmp -DPSQN_W_LAPACK -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/Core:205,
from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/Dense:1,
from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/RcppEigenForward.h:28,
from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/RcppEigen.h:25,
from RcppExports.cpp:5:
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:46:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
46 | typedef eigen_packet_wrapper<__m128i, 0> Packet4i;
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:47:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
47 | typedef eigen_packet_wrapper<__m128i, 1> Packet16b;
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:49:39: warning: ignoring attributes on template argument '__m128' [-Wignored-attributes]
49 | template<> struct is_arithmetic<__m128> { enum { value = true }; };
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:50:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
50 | template<> struct is_arithmetic<__m128i> { enum { value = true }; };
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:51:40: warning: ignoring attributes on template argument '__m128d' [-Wignored-attributes]
51 | template<> struct is_arithmetic<__m128d> { enum { value = true }; };
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:222:43: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
222 | template<> struct unpacket_traits<Packet4f> {
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:228:43: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
228 | template<> struct unpacket_traits<Packet2d> {
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:1124:34: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
1124 | ptranspose(PacketBlock<Packet4f,4>& kernel) {
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:1129:34: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
1129 | ptranspose(PacketBlock<Packet2d,2>& kernel) {
| ^
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/Core:174:
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:16:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
16 | struct conj_helper<PACKET_REAL, PACKET_CPLX, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:173:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
173 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:29:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
29 | struct conj_helper<PACKET_CPLX, PACKET_REAL, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:173:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
173 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:16:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
16 | struct conj_helper<PACKET_REAL, PACKET_CPLX, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:298:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
298 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:29:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
29 | struct conj_helper<PACKET_CPLX, PACKET_REAL, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:298:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
298 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/Core:165:
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<float, 4>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<float, 4, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from 'struct Eigen::internal::traits<Eigen::Quaternion<float> >'
266 | Alignment = internal::traits<Coefficients>::Alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:24:46: required from here
24 | ResAlignment = traits<Quaternion<float> >::Alignment
| ^~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(4) float>::half' {aka '__m128'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/Core:271:
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<float, 4, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<float, 4, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<float, 4, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<float, 4, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from 'class Eigen::QuaternionBase<Eigen::Quaternion<float> >'
46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType;
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from 'class Eigen::Quaternion<float>'
273 | class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:27:3: required from here
27 | {
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 4>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 4, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from 'struct Eigen::internal::traits<Eigen::Quaternion<double> >'
266 | Alignment = internal::traits<Coefficients>::Alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:98:47: required from here
98 | ResAlignment = traits<Quaternion<double> >::Alignment
| ^~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 4, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 4, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 4, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from 'class Eigen::QuaternionBase<Eigen::Quaternion<double> >'
46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType;
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from 'class Eigen::Quaternion<double>'
273 | class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:102:3: required from here
102 | {
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/SparseCore:37,
from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/Sparse:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/RcppEigenForward.h:29:
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::SparseMatrix<double, 0, int> >':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from 'class Eigen::SparseCompressedBase<Eigen::SparseMatrix<double, 0, int> >'
36 | class SparseCompressedBase
| ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:96:7: required from 'class Eigen::SparseMatrix<double, 0, int>'
96 | class SparseMatrix
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h:61:25: required from here
61 | typedef Triplet<double> T;
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
47 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include' -I'D:/RCompile/CRANpkg/lib/4.5/testthat/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I../inst/include/ -fopenmp -DPSQN_W_LAPACK -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c r-api.cpp -o r-api.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/Core:205,
from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/Dense:1,
from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/RcppEigenForward.h:28,
from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/RcppEigen.h:25,
from ../inst/include/psqn-Rcpp-wrapper.h:9,
from r-api.cpp:6:
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:46:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
46 | typedef eigen_packet_wrapper<__m128i, 0> Packet4i;
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:47:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
47 | typedef eigen_packet_wrapper<__m128i, 1> Packet16b;
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:49:39: warning: ignoring attributes on template argument '__m128' [-Wignored-attributes]
49 | template<> struct is_arithmetic<__m128> { enum { value = true }; };
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:50:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
50 | template<> struct is_arithmetic<__m128i> { enum { value = true }; };
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:51:40: warning: ignoring attributes on template argument '__m128d' [-Wignored-attributes]
51 | template<> struct is_arithmetic<__m128d> { enum { value = true }; };
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:222:43: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
222 | template<> struct unpacket_traits<Packet4f> {
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:228:43: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
228 | template<> struct unpacket_traits<Packet2d> {
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:1124:34: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
1124 | ptranspose(PacketBlock<Packet4f,4>& kernel) {
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:1129:34: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
1129 | ptranspose(PacketBlock<Packet2d,2>& kernel) {
| ^
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/Core:174:
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:16:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
16 | struct conj_helper<PACKET_REAL, PACKET_CPLX, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:173:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
173 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:29:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
29 | struct conj_helper<PACKET_CPLX, PACKET_REAL, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:173:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
173 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:16:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
16 | struct conj_helper<PACKET_REAL, PACKET_CPLX, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:298:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
298 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:29:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
29 | struct conj_helper<PACKET_CPLX, PACKET_REAL, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:298:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
298 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/Core:165:
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<float, 4>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<float, 4, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from 'struct Eigen::internal::traits<Eigen::Quaternion<float> >'
266 | Alignment = internal::traits<Coefficients>::Alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:24:46: required from here
24 | ResAlignment = traits<Quaternion<float> >::Alignment
| ^~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(4) float>::half' {aka '__m128'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/Core:271:
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<float, 4, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<float, 4, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<float, 4, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<float, 4, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from 'class Eigen::QuaternionBase<Eigen::Quaternion<float> >'
46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType;
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from 'class Eigen::Quaternion<float>'
273 | class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:27:3: required from here
27 | {
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 4>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 4, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from 'struct Eigen::internal::traits<Eigen::Quaternion<double> >'
266 | Alignment = internal::traits<Coefficients>::Alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:98:47: required from here
98 | ResAlignment = traits<Quaternion<double> >::Alignment
| ^~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 4, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 4, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 4, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from 'class Eigen::QuaternionBase<Eigen::Quaternion<double> >'
46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType;
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from 'class Eigen::Quaternion<double>'
273 | class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:102:3: required from here
102 | {
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/SparseCore:37,
from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/Sparse:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/RcppEigenForward.h:29:
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::SparseMatrix<double, 0, int> >':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from 'class Eigen::SparseCompressedBase<Eigen::SparseMatrix<double, 0, int> >'
36 | class SparseCompressedBase
| ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:96:7: required from 'class Eigen::SparseMatrix<double, 0, int>'
96 | class SparseMatrix
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h:61:25: required from here
61 | typedef Triplet<double> T;
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
47 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from 'class Eigen::SparseCompressedBase<Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >'
36 | class SparseCompressedBase
| ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMap.h:50:7: required from 'class Eigen::SparseMapBase<Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >, 0>'
50 | class SparseMapBase<Derived,ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseRef.h:83:34: required from 'class Eigen::internal::SparseRefBase<Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >'
83 | template<typename Derived> class SparseRefBase
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseRef.h:177:7: required from 'class Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >'
177 | class Ref<const SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:37:41: required from 'struct Eigen::internal::is_ref_compatible_impl<Eigen::SparseMatrix<double, 0, int> >'
37 | enum { value = sizeof(test<MatrixType>(ms_from, 0))==sizeof(yes) };
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:43:81: required from 'struct Eigen::internal::is_ref_compatible<Eigen::SparseMatrix<double, 0, int> >'
43 | enum { value = is_ref_compatible_impl<typename remove_all<MatrixType>::type>::value };
| ^~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:46:49: required from 'class Eigen::IterativeSolverBase<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> > >'
46 | template<typename MatrixType, bool MatrixFree = !internal::is_ref_compatible<MatrixType>::value>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:158:7: required from 'class Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >'
158 | class ConjugateGradient : public IterativeSolverBase<ConjugateGradient<_MatrixType,_UpLo,_Preconditioner> >
| ^~~~~~~~~~~~~~~~~
../inst/include/psqn.h:479:9: required from here
479 | cg.analyzePattern(sparse_B_mat);
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
47 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, -1>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, -1, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, -1, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:173:14: required from 'class Eigen::IncompleteCholesky<double, 3>'
173 | VectorRx m_scale; // The vector for scaling the matrix
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:431:18: required from 'class Eigen::IterativeSolverBase<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> > >'
431 | Preconditioner m_preconditioner;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:158:7: required from 'class Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >'
158 | class ConjugateGradient : public IterativeSolverBase<ConjugateGradient<_MatrixType,_UpLo,_Preconditioner> >
| ^~~~~~~~~~~~~~~~~
../inst/include/psqn.h:479:9: required from here
479 | cg.analyzePattern(sparse_B_mat);
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, -1, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, -1, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, -1, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:173:14: required from 'class Eigen::IncompleteCholesky<double, 3>'
173 | VectorRx m_scale; // The vector for scaling the matrix
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:431:18: required from 'class Eigen::IterativeSolverBase<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> > >'
431 | Preconditioner m_preconditioner;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:158:7: required from 'class Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >'
158 | class ConjugateGradient : public IterativeSolverBase<ConjugateGradient<_MatrixType,_UpLo,_Preconditioner> >
| ^~~~~~~~~~~~~~~~~
../inst/include/psqn.h:479:9: required from here
479 | cg.analyzePattern(sparse_B_mat);
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from 'class Eigen::SolveImpl<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
86 | class SolveImpl<Decomposition,RhsType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from 'class Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >'
62 | class Solve : public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
| ^~~~~
../inst/include/psqn.h:492:25: required from here
492 | lhs = cg.solve(rhs);
| ^
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from 'class Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >'
94 | template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
| ^~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:212:17: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::factorize(const _MatrixType&) [with MatrixType = Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >; Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>]'
212 | Map<VectorSx> vals(m_L.valuePtr(), nnz); //values
| ^~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:221:31: required from 'Derived& Eigen::IterativeSolverBase<Derived>::factorize(const Eigen::EigenBase<OtherDerived>&) [with MatrixDerived = Eigen::SparseMatrix<double, 0, int>; Derived = Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >]'
221 | m_preconditioner.factorize(matrix());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../inst/include/psqn.h:480:19: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
480 | cg.factorize(sparse_B_mat);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:235:30: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::factorize(const _MatrixType&) [with MatrixType = Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >; Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>]'
235 | m_scale = m_scale.cwiseSqrt().cwiseSqrt();
| ~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:221:31: required from 'Derived& Eigen::IterativeSolverBase<Derived>::factorize(const Eigen::EigenBase<OtherDerived>&) [with MatrixDerived = Eigen::SparseMatrix<double, 0, int>; Derived = Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >]'
221 | m_preconditioner.factorize(matrix());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../inst/include/psqn.h:480:19: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
480 | cg.factorize(sparse_B_mat);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_sqrt_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Matrix<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:235:42: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::factorize(const _MatrixType&) [with MatrixType = Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >; Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>]'
235 | m_scale = m_scale.cwiseSqrt().cwiseSqrt();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:221:31: required from 'Derived& Eigen::IterativeSolverBase<Derived>::factorize(const Eigen::EigenBase<OtherDerived>&) [with MatrixDerived = Eigen::SparseMatrix<double, 0, int>; Derived = Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >]'
221 | m_preconditioner.factorize(matrix());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../inst/include/psqn.h:480:19: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
480 | cg.factorize(sparse_B_mat);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Ref<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Ref<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Ref<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Ref<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Ref<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Ref<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Ref.h:281:76: required from 'class Eigen::Ref<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> >'
281 | template<typename PlainObjectType, int Options, typename StrideType> class Ref
| ^~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:310:21: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::factorize(const _MatrixType&) [with MatrixType = Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >; Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>]'
310 | updateList(colPtr,rowIdx,vals, *k, jk, firstElt, listCol);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:221:31: required from 'Derived& Eigen::IterativeSolverBase<Derived>::factorize(const Eigen::EigenBase<OtherDerived>&) [with MatrixDerived = Eigen::SparseMatrix<double, 0, int>; Derived = Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >]'
221 | m_preconditioner.factorize(matrix());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../inst/include/psqn.h:480:19: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
480 | cg.factorize(sparse_B_mat);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from 'class Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >'
94 | template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
| ^~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:323:16: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::factorize(const _MatrixType&) [with MatrixType = Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >; Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>]'
323 | vals = Map<const VectorSx>(L_save.valuePtr(), nnz);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:221:31: required from 'Derived& Eigen::IterativeSolverBase<Derived>::factorize(const Eigen::EigenBase<OtherDerived>&) [with MatrixDerived = Eigen::SparseMatrix<double, 0, int>; Derived = Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >]'
221 | m_preconditioner.factorize(matrix());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../inst/include/psqn.h:480:19: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
480 | cg.factorize(sparse_B_mat);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from 'class Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>'
56 | template<typename VectorType, int Size> class VectorBlock
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:346:42: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::factorize(const _MatrixType&) [with MatrixType = Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >; Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>]'
346 | Ref<VectorSx> cvals = col_vals.head(col_nnz);
| ~~~~~~~~~~~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:221:31: required from 'Derived& Eigen::IterativeSolverBase<Derived>::factorize(const Eigen::EigenBase<OtherDerived>&) [with MatrixDerived = Eigen::SparseMatrix<double, 0, int>; Derived = Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >]'
221 | m_preconditioner.factorize(matrix());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../inst/include/psqn.h:480:19: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
480 | cg.factorize(sparse_B_mat);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/Core:277:
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Ref.h:44:50: required from 'struct Eigen::internal::traits<Eigen::Ref<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> > >::match<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
44 | DerivedAlignment = int(evaluator<Derived>::Alignment),
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Ref.h:288:101: required by substitution of 'template<class Derived> Eigen::Ref<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> >::Ref(const Eigen::DenseBase<Derived>&, typename Eigen::internal::enable_if<(bool)(Eigen::internal::traits<Eigen::Ref<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> > >::match<Derived>::MatchAtCompileTime), Derived>::type*) [with Derived = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>]'
288 | typename internal::enable_if<bool(Traits::template match<Derived>::MatchAtCompileTime),Derived>::type* = 0);
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:346:21: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::factorize(const _MatrixType&) [with MatrixType = Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >; Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>]'
346 | Ref<VectorSx> cvals = col_vals.head(col_nnz);
| ^~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:221:31: required from 'Derived& Eigen::IterativeSolverBase<Derived>::factorize(const Eigen::EigenBase<OtherDerived>&) [with MatrixDerived = Eigen::SparseMatrix<double, 0, int>; Derived = Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >]'
221 | m_preconditioner.factorize(matrix());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../inst/include/psqn.h:480:19: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
480 | cg.factorize(sparse_B_mat);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::SparseMatrix<double, 1, int> >':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from 'class Eigen::SparseCompressedBase<Eigen::SparseMatrix<double, 1, int> >'
36 | class SparseCompressedBase
| ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:96:7: required from 'class Eigen::SparseMatrix<double, 1, int>'
96 | class SparseMatrix
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:1040:66: required from 'void Eigen::internal::set_from_triplets(const InputIterator&, const InputIterator&, SparseMatrixType&, DupFunctor) [with InputIterator = __gnu_cxx::__normal_iterator<Eigen::Triplet<double>*, std::vector<Eigen::Triplet<double> > >; SparseMatrixType = Eigen::SparseMatrix<double, 0, int>; DupFunctor = scalar_sum_op<double, double>]'
1040 | SparseMatrix<Scalar,IsRowMajor?ColMajor:RowMajor,StorageIndex> trMat(mat.rows(),mat.cols());
| ^~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:1110:92: required from 'void Eigen::SparseMatrix<_Scalar, _Flags, _StorageIndex>::setFromTriplets(const InputIterators&, const InputIterators&) [with InputIterators = __gnu_cxx::__normal_iterator<Eigen::Triplet<double>*, std::vector<Eigen::Triplet<double> > >; _Scalar = double; int _Options = 0; _StorageIndex = int]'
1110 | internal::set_from_triplets<InputIterators, SparseMatrix<Scalar,_Options,_StorageIndex> >(begin, end, *this, internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/psqn.h:1889:33: required from 'void PSQN::optimizer<EFunc, TReporter, Tinterrupter, Tcaller, Tconstraint>::fill_sparse_B_mat() [with EFunc = r_worker_psqn; TReporter = PSQN::R_reporter; Tinterrupter = PSQN::R_interrupter; Tcaller = PSQN::default_caller<r_worker_psqn>; Tconstraint = PSQN::default_constraint]'
1889 | sparse_B_mat.setFromTriplets(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
1890 | sparse_B_mat_triplets.begin(), sparse_B_mat_triplets.end());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/psqn.h:1965:5: required from 'Eigen::SparseMatrix<double, 0, int> PSQN::optimizer<EFunc, TReporter, Tinterrupter, Tcaller, Tconstraint>::true_hess_sparse(const double*, double, double, double, unsigned int) [with EFunc = r_worker_psqn; TReporter = PSQN::R_reporter; Tinterrupter = PSQN::R_interrupter; Tcaller = PSQN::default_caller<r_worker_psqn>; Tconstraint = PSQN::default_constraint]'
1965 | fill_sparse_B_mat();
| ^~~~~~~~~~~~~~~~~
r-api.cpp:573:32: required from here
573 | return optim.true_hess_sparse(&val[0], eps, scale, tol, order);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
47 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::SparseMatrix<double, 1, int>, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:336:80: required from 'struct Eigen::internal::evaluator<Eigen::SparseCompressedBase<Eigen::SparseMatrix<double, 1, int> > >'
336 | typedef typename DenseCoeffsBase<Derived,ReadOnlyAccessors>::CoeffReturnType CoeffReturnType;
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:1505:8: required from 'struct Eigen::internal::evaluator<Eigen::SparseMatrix<double, 1, int> >'
1505 | struct evaluator<SparseMatrix<_Scalar,_Options,_StorageIndex> >
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:1181:93: required from 'Eigen::SparseMatrix<_Scalar, _Options, _StorageIndex>& Eigen::SparseMatrix<_Scalar, _Flags, _StorageIndex>::operator=(const Eigen::SparseMatrixBase<OtherDerived>&) [with OtherDerived = Eigen::SparseMatrix<double, 1, int>; _Scalar = double; int _Options = 0; _StorageIndex = int]'
1181 | const bool needToTranspose = (Flags & RowMajorBit) != (internal::evaluator<OtherDerived>::Flags & RowMajorBit);
| ^~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:1063:7: required from 'void Eigen::internal::set_from_triplets(const InputIterator&, const InputIterator&, SparseMatrixType&, DupFunctor) [with InputIterator = __gnu_cxx::__normal_iterator<Eigen::Triplet<double>*, std::vector<Eigen::Triplet<double> > >; SparseMatrixType = Eigen::SparseMatrix<double, 0, int>; DupFunctor = scalar_sum_op<double, double>]'
1063 | mat = trMat;
| ~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:1110:92: required from 'void Eigen::SparseMatrix<_Scalar, _Flags, _StorageIndex>::setFromTriplets(const InputIterators&, const InputIterators&) [with InputIterators = __gnu_cxx::__normal_iterator<Eigen::Triplet<double>*, std::vector<Eigen::Triplet<double> > >; _Scalar = double; int _Options = 0; _StorageIndex = int]'
1110 | internal::set_from_triplets<InputIterators, SparseMatrix<Scalar,_Options,_StorageIndex> >(begin, end, *this, internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/psqn.h:1889:33: required from 'void PSQN::optimizer<EFunc, TReporter, Tinterrupter, Tcaller, Tconstraint>::fill_sparse_B_mat() [with EFunc = r_worker_psqn; TReporter = PSQN::R_reporter; Tinterrupter = PSQN::R_interrupter; Tcaller = PSQN::default_caller<r_worker_psqn>; Tconstraint = PSQN::default_constraint]'
1889 | sparse_B_mat.setFromTriplets(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
1890 | sparse_B_mat_triplets.begin(), sparse_B_mat_triplets.end());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/psqn.h:1965:5: required from 'Eigen::SparseMatrix<double, 0, int> PSQN::optimizer<EFunc, TReporter, Tinterrupter, Tcaller, Tconstraint>::true_hess_sparse(const double*, double, double, double, unsigned int) [with EFunc = r_worker_psqn; TReporter = PSQN::R_reporter; Tinterrupter = PSQN::R_interrupter; Tcaller = PSQN::default_caller<r_worker_psqn>; Tconstraint = PSQN::default_constraint]'
1965 | fill_sparse_B_mat();
| ^~~~~~~~~~~~~~~~~
r-api.cpp:573:32: required from here
573 | return optim.true_hess_sparse(&val[0], eps, scale, tol, order);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:347:30: required from 'Derived& Eigen::DenseBase<Derived>::setConstant(const Scalar&) [with Derived = Eigen::Matrix<double, -1, 1>; Scalar = double]'
347 | return derived() = Constant(rows(), cols(), val);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:548:10: required from 'Derived& Eigen::DenseBase<Derived>::setZero() [with Derived = Eigen::Matrix<double, -1, 1>]'
548 | return setConstant(Scalar(0));
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:226:18: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::factorize(const _MatrixType&) [with MatrixType = Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >; Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>]'
226 | m_scale.setZero();
| ~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:221:31: required from 'Derived& Eigen::IterativeSolverBase<Derived>::factorize(const Eigen::EigenBase<OtherDerived>&) [with MatrixDerived = Eigen::SparseMatrix<double, 0, int>; Derived = Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >]'
221 | m_preconditioner.factorize(matrix());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../inst/include/psqn.h:480:19: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
480 | cg.factorize(sparse_B_mat);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:385:21: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::updateList(Eigen::Ref<const Eigen::Matrix<typename _OrderingType::PermutationType::StorageIndex, -1, 1> >, Eigen::Ref<Eigen::Matrix<typename _OrderingType::PermutationType::StorageIndex, -1, 1> >, Eigen::Ref<Eigen::Matrix<Type, -1, 1> >, const Eigen::Index&, const Eigen::Index&, VectorIx&, VectorList&) [with Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>; typename _OrderingType::PermutationType::StorageIndex = int; typename _OrderingType::PermutationType = Eigen::PermutationMatrix<-1, -1, int>; typename Eigen::internal::conditional<const Eigen::Matrix<typename _OrderingType::PermutationType::StorageIndex, -1, 1>::IsVectorAtCompileTime, Eigen::InnerStride<1>, Eigen::OuterStride<> >::type = Eigen::InnerStride<1>; typename Eigen::internal::conditional<Eigen::Matrix<typename _OrderingType::PermutationType::StorageIndex, -1, 1>::IsVectorAtCompileTime, Eigen::InnerStride<1>, Eigen::OuterStride<> >::type = Eigen::InnerStride<1>; typename Eigen::internal::conditional<Eigen::Matrix<Type, -1, 1>::IsVectorAtCompileTime, Eigen::InnerStride<1>, Eigen::OuterStride<> >::type = Eigen::InnerStride<1>; Eigen::Index = long long int; VectorIx = Eigen::Matrix<int, -1, 1>; VectorList = std::vector<std::__cxx11::list<int, std::allocator<int> >, std::allocator<std::__cxx11::list<int, std::allocator<int> > > >]'
385 | std::swap(vals(jk),vals(minpos));
| ~~~~^~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:310:11: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::factorize(const _MatrixType&) [with MatrixType = Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >; Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>]'
310 | updateList(colPtr,rowIdx,vals, *k, jk, firstElt, listCol);
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:221:31: required from 'Derived& Eigen::IterativeSolverBase<Derived>::factorize(const Eigen::EigenBase<OtherDerived>&) [with MatrixDerived = Eigen::SparseMatrix<double, 0, int>; Derived = Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >]'
221 | m_preconditioner.factorize(matrix());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../inst/include/psqn.h:480:19: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
480 | cg.factorize(sparse_B_mat);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::SparseMatrix<double, 0, int>, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:336:80: required from 'struct Eigen::internal::evaluator<Eigen::SparseCompressedBase<Eigen::SparseMatrix<double, 0, int> > >'
336 | typedef typename DenseCoeffsBase<Derived,ReadOnlyAccessors>::CoeffReturnType CoeffReturnType;
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:1505:8: required from 'struct Eigen::internal::evaluator<Eigen::SparseMatrix<double, 0, int> >'
1505 | struct evaluator<SparseMatrix<_Scalar,_Options,_StorageIndex> >
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseAssign.h:79:45: required from 'void Eigen::internal::assign_sparse_to_sparse(DstXprType&, const SrcXprType&) [with DstXprType = Eigen::SparseMatrix<double, 0, int>; SrcXprType = Eigen::SparseMatrix<double, 1, int>]'
79 | const bool transpose = (DstEvaluatorType::Flags & RowMajorBit) != (SrcEvaluatorType::Flags & RowMajorBit);
| ^~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseAssign.h:132:28: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Sparse2Sparse>::run(DstXprType&, const SrcXprType&, const Eigen::internal::assign_op<typename DstXprType::Scalar, typename SrcXprType::Scalar>&) [with DstXprType = Eigen::SparseMatrix<double, 0, int>; SrcXprType = Eigen::SparseMatrix<double, 1, int>; Functor = Eigen::internal::assign_op<double, double>; typename DstXprType::Scalar = double; typename SrcXprType::Scalar = double]'
132 | assign_sparse_to_sparse(dst.derived(), src.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseAssign.h:38:16: required from 'Derived& Eigen::SparseMatrixBase<Derived>::operator=(const Eigen::SparseMatrixBase<OtherDerived>&) [with OtherDerived = Eigen::SparseMatrix<double, 1, int>; Derived = Eigen::SparseMatrix<double, 0, int>]'
37 | internal::Assignment<Derived,OtherDerived,internal::assign_op<Scalar,typename OtherDerived::Scalar> >
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38 | ::run(derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:1239:27: required from 'Eigen::SparseMatrix<_Scalar, _Options, _StorageIndex>& Eigen::SparseMatrix<_Scalar, _Flags, _StorageIndex>::operator=(const Eigen::SparseMatrixBase<OtherDerived>&) [with OtherDerived = Eigen::SparseMatrix<double, 1, int>; _Scalar = double; int _Options = 0; _StorageIndex = int]'
1239 | return Base::operator=(other.derived());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:1063:7: required from 'void Eigen::internal::set_from_triplets(const InputIterator&, const InputIterator&, SparseMatrixType&, DupFunctor) [with InputIterator = __gnu_cxx::__normal_iterator<Eigen::Triplet<double>*, std::vector<Eigen::Triplet<double> > >; SparseMatrixType = Eigen::SparseMatrix<double, 0, int>; DupFunctor = scalar_sum_op<double, double>]'
1063 | mat = trMat;
| ~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:1110:92: required from 'void Eigen::SparseMatrix<_Scalar, _Flags, _StorageIndex>::setFromTriplets(const InputIterators&, const InputIterators&) [with InputIterators = __gnu_cxx::__normal_iterator<Eigen::Triplet<double>*, std::vector<Eigen::Triplet<double> > >; _Scalar = double; int _Options = 0; _StorageIndex = int]'
1110 | internal::set_from_triplets<InputIterators, SparseMatrix<Scalar,_Options,_StorageIndex> >(begin, end, *this, internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/psqn.h:1889:33: required from 'void PSQN::optimizer<EFunc, TReporter, Tinterrupter, Tcaller, Tconstraint>::fill_sparse_B_mat() [with EFunc = r_worker_psqn; TReporter = PSQN::R_reporter; Tinterrupter = PSQN::R_interrupter; Tcaller = PSQN::default_caller<r_worker_psqn>; Tconstraint = PSQN::default_constraint]'
1889 | sparse_B_mat.setFromTriplets(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
1890 | sparse_B_mat_triplets.begin(), sparse_B_mat_triplets.end());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/psqn.h:1965:5: required from 'Eigen::SparseMatrix<double, 0, int> PSQN::optimizer<EFunc, TReporter, Tinterrupter, Tcaller, Tconstraint>::true_hess_sparse(const double*, double, double, double, unsigned int) [with EFunc = r_worker_psqn; TReporter = PSQN::R_reporter; Tinterrupter = PSQN::R_interrupter; Tcaller = PSQN::default_caller<r_worker_psqn>; Tconstraint = PSQN::default_constraint]'
1965 | fill_sparse_B_mat();
| ^~~~~~~~~~~~~~~~~
r-api.cpp:573:32: required from here
573 | return optim.true_hess_sparse(&val[0], eps, scale, tol, order);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:336:80: required from 'struct Eigen::internal::evaluator<Eigen::SparseCompressedBase<Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > > >'
336 | typedef typename DenseCoeffsBase<Derived,ReadOnlyAccessors>::CoeffReturnType CoeffReturnType;
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseRef.h:364:8: required from 'struct Eigen::internal::evaluator<Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >'
364 | struct evaluator<Ref<const SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType> >
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseSelfAdjointView.h:437:57: required from 'void Eigen::internal::permute_symm_to_fullsymm(const MatrixType&, Eigen::SparseMatrix<typename MatrixType::Scalar, DestOrder, typename MatrixType::StorageIndex>&, const typename MatrixType::StorageIndex*) [with int Mode = 3; MatrixType = Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >; int DestOrder = 1; typename MatrixType::Scalar = double; typename MatrixType::StorageIndex = int]'
437 | typedef typename evaluator<MatrixType>::InnerIterator MatIterator;
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseSelfAdjointView.h:644:45: required from 'static void Eigen::internal::Assignment<DstXprType, Eigen::SparseSymmetricPermutationProduct<MatrixType, Mode>, Eigen::internal::assign_op<Scalar, typename MatrixType::Scalar>, Eigen::internal::Sparse2Sparse>::run(Eigen::SparseMatrix<Scalar, Options, typename DstXprType::StorageIndex>&, const SrcXprType&, const Eigen::internal::assign_op<Scalar, typename MatrixType::Scalar>&) [with int Options = 0; DstXprType = Eigen::SparseMatrix<double, 0, int>; MatrixType = Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >; int Mode = 3; Scalar = double; typename DstXprType::StorageIndex = int; SrcXprType = Eigen::SparseSymmetricPermutationProduct<Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >, 3>; typename MatrixType::Scalar = double]'
644 | internal::permute_symm_to_fullsymm<Mode>(src.matrix(),tmp,src.perm().indices().data());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::SparseMatrix<double, 0, int>; Src = Eigen::SparseSymmetricPermutationProduct<Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >, 3>; Func = assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:917:27: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:787:29: required from 'Eigen::SparseMatrix<_Scalar, _Flags, _StorageIndex>& Eigen::SparseMatrix<_Scalar, _Flags, _StorageIndex>::operator=(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::SparseSymmetricPermutationProduct<Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >, 3>; _Scalar = double; int _Options = 0; _StorageIndex = int]'
787 | { return Base::operator=(other.derived()); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:202:9: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::factorize(const _MatrixType&) [with MatrixType = Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >; Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>]'
202 | tmp = mat.template selfadjointView<_UpLo>().twistedBy(m_perm);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:221:31: required from 'Derived& Eigen::IterativeSolverBase<Derived>::factorize(const Eigen::EigenBase<OtherDerived>&) [with MatrixDerived = Eigen::SparseMatrix<double, 0, int>; Derived = Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >]'
221 | m_preconditioner.factorize(matrix());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../inst/include/psqn.h:480:19: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
480 | cg.factorize(sparse_B_mat);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > > >':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from 'class Eigen::SparseCompressedBase<Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > > >'
36 | class SparseCompressedBase
| ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseTranspose.h:22:9: required from 'class Eigen::internal::SparseTransposeImpl<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >, 1024>'
22 | class SparseTransposeImpl<MatrixType,CompressedAccessBit>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseTranspose.h:45:37: required from 'class Eigen::TransposeImpl<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> >, Eigen::Sparse>'
45 | template<typename MatrixType> class TransposeImpl<MatrixType,Sparse>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:218:21: required from 'void Eigen::ConjugateGradient<_MatrixType, _UpLo, _Preconditioner>::_solve_vector_with_guess_impl(const Rhs&, Dest&) const [with Rhs = Eigen::Matrix<double, -1, 1>; Dest = Eigen::Matrix<double, -1, 1>; _MatrixType = Eigen::SparseMatrix<double, 0, int>; int _UpLo = 3; _Preconditioner = Eigen::IncompleteCholesky<double, 3>]'
218 | RowMajorWrapper row_mat(matrix());
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:395:44: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
47 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >, Eigen::Matrix<double, -1, 1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >, Eigen::Matrix<double, -1, 1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >, Eigen::Matrix<double, -1, 1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >, Eigen::Matrix<double, -1, 1>, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >, Eigen::Matrix<double, -1, 1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >, Eigen::Matrix<double, -1, 1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:43:35: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Product<Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >, Eigen::Matrix<double, -1, 1>, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Product<Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >, Eigen::Matrix<double, -1, 1>, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Product<Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >, Eigen::Matrix<double, -1, 1>, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Product<Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >, Eigen::Matrix<double, -1, 1>, 0>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Product<Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >, Eigen::Matrix<double, -1, 1>, 0> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:43:29: required from 'void Eigen::internal::conjugate_gradient(const MatrixType&, const Rhs&, Dest&, const Preconditioner&, Eigen::Index&, typename Dest::RealScalar&) [with MatrixType = Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >; Rhs = Eigen::Matrix<double, -1, 1>; Dest = Eigen::Matrix<double, -1, 1>; Preconditioner = Eigen::IncompleteCholesky<double, 3>; Eigen::Index = long long int; typename Dest::RealScalar = double]'
43 | VectorType residual = rhs - mat * x; //initial residual
| ~~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:219:33: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Solve<Eigen::IncompleteCholesky<double, 3>, Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Solve<Eigen::IncompleteCholesky<double, 3>, Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Solve<Eigen::IncompleteCholesky<double, 3>, Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from 'class Eigen::SolveImpl<Eigen::IncompleteCholesky<double, 3>, Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
86 | class SolveImpl<Decomposition,RhsType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from 'class Eigen::Solve<Eigen::IncompleteCholesky<double, 3>, Eigen::Matrix<double, -1, 1> >'
62 | class Solve : public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:64:20: required from 'void Eigen::internal::conjugate_gradient(const MatrixType&, const Rhs&, Dest&, const Preconditioner&, Eigen::Index&, typename Dest::RealScalar&) [with MatrixType = Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >; Rhs = Eigen::Matrix<double, -1, 1>; Dest = Eigen::Matrix<double, -1, 1>; Preconditioner = Eigen::IncompleteCholesky<double, 3>; Eigen::Index = long long int; typename Dest::RealScalar = double]'
64 | p = precond.solve(residual); // initial search direction
| ~~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:219:33: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from 'struct Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
38 | >::type Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:74:16: required from 'void Eigen::internal::conjugate_gradient(const MatrixType&, const Rhs&, Dest&, const Preconditioner&, Eigen::Index&, typename Dest::RealScalar&) [with MatrixType = Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >; Rhs = Eigen::Matrix<double, -1, 1>; Dest = Eigen::Matrix<double, -1, 1>; Preconditioner = Eigen::IncompleteCholesky<double, 3>; Eigen::Index = long long int; typename Dest::RealScalar = double]'
74 | x += alpha * p; // update solution
| ~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:219:33: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:86:11: required from 'void Eigen::internal::conjugate_gradient(const MatrixType&, const Rhs&, Dest&, const Preconditioner&, Eigen::Index&, typename Dest::RealScalar&) [with MatrixType = Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >; Rhs = Eigen::Matrix<double, -1, 1>; Dest = Eigen::Matrix<double, -1, 1>; Preconditioner = Eigen::IncompleteCholesky<double, 3>; Eigen::Index = long long int; typename Dest::RealScalar = double]'
86 | p = z + beta * p; // update search direction
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:219:33: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Dot.h:98:40: required from 'typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real Eigen::MatrixBase<Derived>::squaredNorm() const [with Derived = Eigen::Matrix<double, -1, 1>; typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real = double; typename Eigen::internal::traits<T>::Scalar = double]'
98 | return numext::real((*this).cwiseAbs2().sum());
| ~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:45:40: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Dot.h:37:44: required from 'static Eigen::internal::dot_nocheck<T, U, NeedToTranspose>::ResScalar Eigen::internal::dot_nocheck<T, U, NeedToTranspose>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Matrix<double, -1, 1>; U = Eigen::Matrix<double, -1, 1>; bool NeedToTranspose = false; ResScalar = double]'
37 | return a.template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseUnaryOp<scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Dot.h:98:46: required from 'typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real Eigen::MatrixBase<Derived>::squaredNorm() const [with Derived = Eigen::Matrix<double, -1, 1>; typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real = double; typename Eigen::internal::traits<T>::Scalar = double]'
98 | return numext::real((*this).cwiseAbs2().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:45:40: required from 'void Eigen::internal::conjugate_gradient(const MatrixType&, const Rhs&, Dest&, const Preconditioner&, Eigen::Index&, typename Dest::RealScalar&) [with MatrixType = Eigen::Transpose<const Eigen::Ref<const Eigen::SparseMatrix<double, 0, int>, 0, Eigen::OuterStride<> > >; Rhs = Eigen::Matrix<double, -1, 1>; Dest = Eigen::Matrix<double, -1, 1>; Preconditioner = Eigen::IncompleteCholesky<double, 3>; Eigen::Index = long long int; typename Dest::RealScalar = double]'
45 | RealScalar rhsNorm2 = rhs.squaredNorm();
| ~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:219:33: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseBinaryOp<scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Dot.h:37:51: required from 'static Eigen::internal::dot_nocheck<T, U, NeedToTranspose>::ResScalar Eigen::internal::dot_nocheck<T, U, NeedToTranspose>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Matrix<double, -1, 1>; U = Eigen::Matrix<double, -1, 1>; bool NeedToTranspose = false; ResScalar = double]'
37 | return a.template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from 'typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType Eigen::MatrixBase<Derived>::dot(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::Matrix<double, -1, 1>; Derived = Eigen::Matrix<double, -1, 1>; typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType = double; typename Eigen::internal::traits<T>::Scalar = double; typename Eigen::internal::traits<OtherDerived>::Scalar = double]'
84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h:67:48: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::PermutationMatrix<-1, -1, int>, Eigen::Matrix<double, -1, 1>, 2>, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::PermutationMatrix<-1, -1, int>, Eigen::Matrix<double, -1, 1>, 2> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::PermutationMatrix<-1, -1, int>, Eigen::Matrix<double, -1, 1>, 2> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::PermutationMatrix<-1, -1, int>, Eigen::Matrix<double, -1, 1>, 2, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::PermutationMatrix<-1, -1, int>, Eigen::Matrix<double, -1, 1>, 2, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::PermutationMatrix<-1, -1, int>, Eigen::Matrix<double, -1, 1>, 2>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:152:50: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1>, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1>, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1>, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1>, 1, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1>, 1, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1>, 1>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:154:32: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::TriangularView<const Eigen::SparseMatrix<double, 0, int>, 1> >':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseTriangularView.h:25:56: required from 'class Eigen::TriangularViewImpl<const Eigen::SparseMatrix<double, 0, int>, 1, Eigen::Sparse>'
25 | template<typename MatrixType, unsigned int Mode> class TriangularViewImpl<MatrixType,Mode,Sparse>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:187:58: required from 'class Eigen::TriangularView<const Eigen::SparseMatrix<double, 0, int>, 1>'
187 | template<typename _MatrixType, unsigned int _Mode> class TriangularView
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:155:45: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::_solve_impl(const Rhs&, Dest&) const [with Rhs = Eigen::Matrix<double, -1, 1>; Dest = Eigen::Matrix<double, -1, 1>; Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>]'
155 | x = m_L.template triangularView<Lower>().solve(x);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Solve.h:147:26: required from 'static void Eigen::internal::Assignment<DstXprType, Eigen::Solve<DecType, RhsType>, Eigen::internal::assign_op<Scalar, Scalar>, Eigen::internal::Dense2Dense>::run(DstXprType&, const SrcXprType&, const Eigen::internal::assign_op<Scalar, Scalar>&) [with DstXprType = Eigen::Matrix<double, -1, 1>; DecType = Eigen::IncompleteCholesky<double, 3>; RhsType = Eigen::Matrix<double, -1, 1>; Scalar = double; SrcXprType = Eigen::Solve<Eigen::IncompleteCholesky<double, 3>, Eigen::Matrix<double, -1, 1> >]'
147 | src.dec()._solve_impl(src.rhs(), dst);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::IncompleteCholesky<double, 3>, Eigen::Matrix<double, -1, 1> >; Func = assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
47 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Solve<Eigen::TriangularView<const Eigen::SparseMatrix<double, 0, int>, 1>, Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Solve<Eigen::TriangularView<const Eigen::SparseMatrix<double, 0, int>, 1>, Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Solve<Eigen::TriangularView<const Eigen::SparseMatrix<double, 0, int>, 1>, Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from 'class Eigen::SolveImpl<Eigen::TriangularView<const Eigen::SparseMatrix<double, 0, int>, 1>, Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
86 | class SolveImpl<Decomposition,RhsType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from 'class Eigen::Solve<Eigen::TriangularView<const Eigen::SparseMatrix<double, 0, int>, 1>, Eigen::Matrix<double, -1, 1> >'
62 | class Solve : public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:155:53: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::_solve_impl(const Rhs&, Dest&) const [with Rhs = Eigen::Matrix<double, -1, 1>; Dest = Eigen::Matrix<double, -1, 1>; Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>]'
155 | x = m_L.template triangularView<Lower>().solve(x);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Solve.h:147:26: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::Transpose<const Eigen::SparseMatrix<double, 0, int> > >':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from 'class Eigen::SparseCompressedBase<Eigen::Transpose<const Eigen::SparseMatrix<double, 0, int> > >'
36 | class SparseCompressedBase
| ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseTranspose.h:22:9: required from 'class Eigen::internal::SparseTransposeImpl<const Eigen::SparseMatrix<double, 0, int>, 1024>'
22 | class SparseTransposeImpl<MatrixType,CompressedAccessBit>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseTranspose.h:45:37: required from 'class Eigen::TransposeImpl<const Eigen::SparseMatrix<double, 0, int>, Eigen::Sparse>'
45 | template<typename MatrixType> class TransposeImpl<MatrixType,Sparse>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::SparseMatrix<double, 0, int> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:156:22: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::_solve_impl(const Rhs&, Dest&) const [with Rhs = Eigen::Matrix<double, -1, 1>; Dest = Eigen::Matrix<double, -1, 1>; Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>]'
156 | x = m_L.adjoint().template triangularView<Upper>().solve(x);
| ~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Solve.h:147:26: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
47 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::TriangularView<const Eigen::Transpose<const Eigen::SparseMatrix<double, 0, int> >, 2> >':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseTriangularView.h:25:56: required from 'class Eigen::TriangularViewImpl<const Eigen::Transpose<const Eigen::SparseMatrix<double, 0, int> >, 2, Eigen::Sparse>'
25 | template<typename MatrixType, unsigned int Mode> class TriangularViewImpl<MatrixType,Mode,Sparse>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:187:58: required from 'class Eigen::TriangularView<const Eigen::Transpose<const Eigen::SparseMatrix<double, 0, int> >, 2>'
187 | template<typename _MatrixType, unsigned int _Mode> class TriangularView
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:156:55: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::_solve_impl(const Rhs&, Dest&) const [with Rhs = Eigen::Matrix<double, -1, 1>; Dest = Eigen::Matrix<double, -1, 1>; Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>]'
156 | x = m_L.adjoint().template triangularView<Upper>().solve(x);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Solve.h:147:26: required from 'static void Eigen::internal::Assignment<DstXprType, Eigen::Solve<DecType, RhsType>, Eigen::internal::assign_op<Scalar, Scalar>, Eigen::internal::Dense2Dense>::run(DstXprType&, const SrcXprType&, const Eigen::internal::assign_op<Scalar, Scalar>&) [with DstXprType = Eigen::Matrix<double, -1, 1>; DecType = Eigen::IncompleteCholesky<double, 3>; RhsType = Eigen::Matrix<double, -1, 1>; Scalar = double; SrcXprType = Eigen::Solve<Eigen::IncompleteCholesky<double, 3>, Eigen::Matrix<double, -1, 1> >]'
147 | src.dec()._solve_impl(src.rhs(), dst);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::IncompleteCholesky<double, 3>, Eigen::Matrix<double, -1, 1> >; Func = assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
47 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::SparseMatrix<double, 0, int> >, 2>, Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::SparseMatrix<double, 0, int> >, 2>, Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::SparseMatrix<double, 0, int> >, 2>, Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from 'class Eigen::SolveImpl<Eigen::TriangularView<const Eigen::Transpose<const Eigen::SparseMatrix<double, 0, int> >, 2>, Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
86 | class SolveImpl<Decomposition,RhsType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from 'class Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::SparseMatrix<double, 0, int> >, 2>, Eigen::Matrix<double, -1, 1> >'
62 | class Solve : public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:156:63: required from 'void Eigen::IncompleteCholesky<Scalar, _UpLo, _OrderingType>::_solve_impl(const Rhs&, Dest&) const [with Rhs = Eigen::Matrix<double, -1, 1>; Dest = Eigen::Matrix<double, -1, 1>; Scalar = double; int _UpLo = 3; _OrderingType = Eigen::AMDOrdering<int>]'
156 | x = m_L.adjoint().template triangularView<Upper>().solve(x);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Solve.h:147:26: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Inverse<Eigen::PermutationMatrix<-1, -1, int> >, Eigen::Matrix<double, -1, 1>, 2>, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Inverse<Eigen::PermutationMatrix<-1, -1, int> >, Eigen::Matrix<double, -1, 1>, 2> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Inverse<Eigen::PermutationMatrix<-1, -1, int> >, Eigen::Matrix<double, -1, 1>, 2> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Inverse<Eigen::PermutationMatrix<-1, -1, int> >, Eigen::Matrix<double, -1, 1>, 2, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Inverse<Eigen::PermutationMatrix<-1, -1, int> >, Eigen::Matrix<double, -1, 1>, 2, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Inverse<Eigen::PermutationMatrix<-1, -1, int> >, Eigen::Matrix<double, -1, 1>, 2>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:159:30: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 26 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 1>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:179:81: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false> >'
179 | typedef typename internal::find_best_packet<Scalar,SizeAtCompileTime>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Matrix<double, -1, 1>, 1, 1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 24 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, 1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, 1, 1, false>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, 1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, 1, 1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, 1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Matrix<double, -1, 1>, 1, 1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 24 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false> >':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:774:20: required from 'void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>; SrcXprType = Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>; Functor = swap_assign_op<double>]'
774 | SrcEvaluatorType srcEvaluator(src);
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>; SrcXprType = Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>; Functor = Eigen::internal::swap_assign_op<double>; Weak = void]'
954 | call_dense_assignment_loop(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>; Src = Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>; Func = swap_assign_op<double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>; Src = Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>; Func = swap_assign_op<double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::DenseShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/DenseBase.h:424:22: required from 'void Eigen::DenseBase<Derived>::swap(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>; Derived = Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>]'
424 | call_assignment(derived(), other.const_cast_derived(), internal::swap_assign_op<Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:1033:18: [ skipping 22 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::Matrix<double, -1, 1>, 1, 1, false> >':
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:774:20: required from 'void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>; SrcXprType = Eigen::Block<const Eigen::Matrix<double, -1, 1>, 1, 1, false>; Functor = assign_op<double, double>]'
774 | SrcEvaluatorType srcEvaluator(src);
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>; SrcXprType = Eigen::Block<const Eigen::Matrix<double, -1, 1>, 1, 1, false>; Functor = Eigen::internal::assign_op<double, double>; Weak = void]'
954 | call_dense_assignment_loop(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>; Src = Eigen::Block<const Eigen::Matrix<double, -1, 1>, 1, 1, false>; Func = assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>; Src = Eigen::Block<const Eigen::Matrix<double, -1, 1>, 1, 1, false>; Func = assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::DenseShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, 1>, 1, 1, false>; Src = Eigen::Block<const Eigen::Matrix<double, -1, 1>, 1, 1, false>]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Assign.h:66:28: [ skipping 23 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >]'
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Solve<Eigen::ConjugateGradient<Eigen::SparseMatrix<double, 0, int>, 3, Eigen::IncompleteCholesky<double, 3> >, Eigen::Matrix<double, -1, 1> >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
../inst/include/psqn.h:492:25: required from 'bool PSQN::base_optimizer<OptT, Tconstraint>::conj_grad(const double*, double*, double, PSQN::psqn_uint, int, PSQN::precondition) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
492 | lhs = cg.solve(rhs);
| ^
../inst/include/psqn.h:840:11: required from 'PSQN::optim_info PSQN::base_optimizer<OptT, Tconstraint>::optim(double*, double, PSQN::psqn_uint, double, double, bool, int, double, bool, PSQN::psqn_uint, PSQN::precondition, double) [with OptT = PSQN::optimizer<r_worker_psqn, PSQN::R_reporter, PSQN::R_interrupter>; Tconstraint = PSQN::default_constraint; PSQN::psqn_uint = unsigned int]'
840 | if(!conj_grad(gr.get(), dir.get(), cg_tol, max_cg < 1 ? n_par() : max_cg,
| ^~~~~~~~~
r-api.cpp:421:25: required from here
421 | auto res = optim.optim(&par_arg[0], rel_eps, max_it, c1, c2,
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
422 | use_bfgs, trace, cg_tol, strong_wolfe, max_cg,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423 | static_cast<PSQN::precondition>(pre_method),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424 | gr_tol);
| ~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include' -I'D:/RCompile/CRANpkg/lib/4.5/testthat/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I../inst/include/ -fopenmp -DPSQN_W_LAPACK -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c test-intrapolate.cpp -o test-intrapolate.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include' -I'D:/RCompile/CRANpkg/lib/4.5/testthat/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I../inst/include/ -fopenmp -DPSQN_W_LAPACK -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c test-lp.cpp -o test-lp.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include' -I'D:/RCompile/CRANpkg/lib/4.5/testthat/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I../inst/include/ -fopenmp -DPSQN_W_LAPACK -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c test-richardson-extrapolation.cpp -o test-richardson-extrapolation.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppEigen/include' -I'D:/RCompile/CRANpkg/lib/4.5/testthat/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I../inst/include/ -fopenmp -DPSQN_W_LAPACK -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c test-runner.cpp -o test-runner.o
g++ -std=gnu++17 -shared -s -static-libgcc -o psqn.dll tmp.def RcppExports.o r-api.o test-intrapolate.o test-lp.o test-richardson-extrapolation.o test-runner.o -LD:/RCompile/recent/R-4.5.1/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.5.1/bin/x64 -lRblas -lgfortran -lquadmath -fopenmp -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.5.1/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_10_26_01_50_00_14777/Rtmpe0yh30/R.INSTALL9bf4722a7aca/psqn/src'
make[1]: Entering directory '/d/temp/2025_10_26_01_50_00_14777/Rtmpe0yh30/R.INSTALL9bf4722a7aca/psqn/src'
make[1]: Leaving directory '/d/temp/2025_10_26_01_50_00_14777/Rtmpe0yh30/R.INSTALL9bf4722a7aca/psqn/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-psqn/00new/psqn/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'psqn' as psqn_0.3.2.zip
* DONE (psqn)