Warning: Permanently added '184.73.104.140' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/10380845-fedora-44-x86_64 --chroot fedora-44-x86_64 Version: 1.8 PID: 22052 Logging PID: 22054 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'bootstrap': 'off', 'build_id': 10380845, 'buildroot_pkgs': [], 'chroot': 'fedora-44-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': '8be5c60010fd356ebf70a6e8d1df3d67d60df405', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/iucar/cran/R-CRAN-birdie', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'R-CRAN-birdie', 'package_version': '0.7.1-1.copr10380845', 'project_dirname': 'cran', 'project_name': 'cran', 'project_owner': 'iucar', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/iucar/cran/fedora-44-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'iucar/cran--iucar', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 0, 'submitter': 'iucar', 'tags': [], 'task_id': '10380845-fedora-44-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/iucar/cran/R-CRAN-birdie /var/lib/copr-rpmbuild/workspace/workdir-pmmtznxn/R-CRAN-birdie --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/iucar/cran/R-CRAN-birdie', '/var/lib/copr-rpmbuild/workspace/workdir-pmmtznxn/R-CRAN-birdie', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-pmmtznxn/R-CRAN-birdie'... Running: git checkout 8be5c60010fd356ebf70a6e8d1df3d67d60df405 -- cmd: ['git', 'checkout', '8be5c60010fd356ebf70a6e8d1df3d67d60df405', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-pmmtznxn/R-CRAN-birdie rc: 0 stdout: stderr: Note: switching to '8be5c60010fd356ebf70a6e8d1df3d67d60df405'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 8be5c60 automatic import of R-CRAN-birdie Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-pmmtznxn/R-CRAN-birdie rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading birdie_0.7.1.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -H 'Accept-Encoding: identity' -o birdie_0.7.1.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/iucar/cran/R-CRAN-birdie/birdie_0.7.1.tar.gz/md5/da0044de601222a14a34b8fd5b959369/birdie_0.7.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1920k 100 1920k 0 0 15.1M 0 --:--:-- --:--:-- --:--:-- 15.2M INFO: Reading stdout from command: md5sum birdie_0.7.1.tar.gz tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-pmmtznxn/R-CRAN-birdie/R-CRAN-birdie.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-pmmtznxn/R-CRAN-birdie --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1777170250.424449 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.7 starting (python version = 3.14.2, NVR = mock-6.7-1.fc43), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-pmmtznxn/R-CRAN-birdie/R-CRAN-birdie.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-pmmtznxn/R-CRAN-birdie --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1777170250.424449 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-pmmtznxn/R-CRAN-birdie/R-CRAN-birdie.spec) Config(fedora-44-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.7 INFO: Mock Version: 6.7 Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-44-x86_64-1777170250.424449/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (fallback) INFO: Buildroot is handled by package management from host and used with --installroot: rpm-6.0.1-1.fc43.x86_64 rpm-sequoia-1.10.0-1.fc43.x86_64 python3-dnf-4.24.0-1.fc43.noarch python3-dnf-plugins-core-4.10.1-6.fc43.noarch dnf5-5.2.18.0-3.fc43.x86_64 dnf5-plugins-5.2.18.0-3.fc43.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: Copr repository 100% | 5.6 KiB/s | 1.5 KiB | 00m00s fedora 100% | 61.7 KiB/s | 25.1 KiB | 00m00s updates 100% | 72.5 KiB/s | 24.3 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 5.3.9-3.fc44 fedora 8.5 MiB bzip2 x86_64 1.0.8-23.fc44 fedora 95.0 KiB coreutils x86_64 9.10-3.fc44 fedora 5.6 MiB cpio x86_64 2.15-9.fc44 fedora 1.1 MiB diffutils x86_64 3.12-5.fc44 fedora 1.6 MiB fedora-release-common noarch 44-17 fedora 20.6 KiB findutils x86_64 1:4.10.0-7.fc44 fedora 1.9 MiB gawk x86_64 5.3.2-3.fc44 fedora 1.8 MiB glibc-minimal-langpack x86_64 2.43-3.fc44 updates 0.0 B grep x86_64 3.12-3.fc44 fedora 1.0 MiB gzip x86_64 1.14-2.fc44 fedora 401.6 KiB info x86_64 7.2-9.fc44 fedora 365.6 KiB patch x86_64 2.8-4.fc44 fedora 226.6 KiB redhat-rpm-config noarch 343-19.fc44 fedora 183.6 KiB rpm-build x86_64 6.0.1-2.fc44 fedora 294.6 KiB sed x86_64 4.9-7.fc44 fedora 857.2 KiB shadow-utils x86_64 2:4.19.0-6.fc44 fedora 4.0 MiB tar x86_64 2:1.35-8.fc44 fedora 3.0 MiB unzip x86_64 6.0-69.fc44 fedora 445.8 KiB util-linux x86_64 2.41.4-7.fc44 updates 3.5 MiB which x86_64 2.23-4.fc44 fedora 83.4 KiB xz x86_64 1:5.8.2-2.fc44 fedora 1.3 MiB Installing dependencies: R-srpm-macros noarch 1.3.7-1.fc44 updates 3.5 KiB add-determinism x86_64 0.7.3-2.fc44 updates 2.2 MiB alternatives x86_64 1.33-5.fc44 fedora 62.1 KiB ansible-srpm-macros noarch 1-20.1.fc44 fedora 35.7 KiB audit-libs x86_64 4.1.4-1.fc44 fedora 390.5 KiB binutils x86_64 2.46-1.fc44 fedora 27.2 MiB build-reproducibility-srpm-macros noarch 0.7.3-2.fc44 updates 1.2 KiB bzip2-libs x86_64 1.0.8-23.fc44 fedora 80.5 KiB ca-certificates noarch 2025.2.80_v9.0.304-7.fc44 updates 2.7 MiB cmake-srpm-macros noarch 4.3.0-1.fc44 fedora 524.0 B coreutils-common x86_64 9.10-3.fc44 fedora 10.7 MiB crypto-policies noarch 20251128-3.git19878fe.fc44 fedora 132.6 KiB curl x86_64 8.18.0-6.fc44 updates 480.0 KiB cyrus-sasl-lib x86_64 2.1.28-35.fc44 fedora 2.3 MiB debugedit x86_64 5.3-2.fc44 updates 220.8 KiB dwz x86_64 0.16-3.fc44 fedora 290.9 KiB ed x86_64 1.22.5-2.fc44 fedora 149.7 KiB efi-srpm-macros noarch 6-6.fc44 fedora 40.2 KiB elfutils x86_64 0.194-5.fc44 fedora 2.9 MiB elfutils-debuginfod-client x86_64 0.194-5.fc44 fedora 83.7 KiB elfutils-default-yama-scope noarch 0.194-5.fc44 fedora 1.8 KiB elfutils-libelf x86_64 0.194-5.fc44 fedora 1.1 MiB elfutils-libs x86_64 0.194-5.fc44 fedora 715.2 KiB fedora-gpg-keys noarch 44-1 fedora 133.4 KiB fedora-release noarch 44-17 fedora 0.0 B fedora-release-identity-basic noarch 44-17 fedora 629.0 B fedora-repos noarch 44-1 fedora 4.9 KiB file x86_64 5.46-10.fc44 updates 100.1 KiB file-libs x86_64 5.46-10.fc44 updates 11.9 MiB filesystem x86_64 3.18-52.fc44 fedora 112.0 B filesystem-srpm-macros noarch 3.18-52.fc44 fedora 38.2 KiB fonts-srpm-macros noarch 1:5.0.0-2.fc44 fedora 55.8 KiB forge-srpm-macros noarch 0.4.0-4.fc44 fedora 38.9 KiB fpc-srpm-macros noarch 1.3-16.fc44 fedora 144.0 B gap-srpm-macros noarch 2-2.fc44 fedora 2.1 KiB gdb-minimal x86_64 17.1-4.fc44 fedora 14.2 MiB gdbm-libs x86_64 1:1.23-11.fc44 fedora 129.6 KiB ghc-srpm-macros noarch 1.10-1.fc44 fedora 792.0 B glibc x86_64 2.43-3.fc44 updates 6.9 MiB glibc-common x86_64 2.43-3.fc44 updates 1.0 MiB glibc-gconv-extra x86_64 2.43-3.fc44 updates 7.4 MiB gmp x86_64 1:6.3.0-5.fc44 fedora 815.2 KiB gnat-srpm-macros noarch 7-2.fc44 fedora 1.0 KiB gnulib-l10n noarch 20241231-2.fc44 fedora 655.0 KiB gnupg2 x86_64 2.4.9-5.fc44 fedora 6.5 MiB gnupg2-dirmngr x86_64 2.4.9-5.fc44 fedora 633.9 KiB gnupg2-gpg-agent x86_64 2.4.9-5.fc44 fedora 682.5 KiB gnupg2-gpgconf x86_64 2.4.9-5.fc44 fedora 249.7 KiB gnupg2-keyboxd x86_64 2.4.9-5.fc44 fedora 201.2 KiB gnupg2-verify x86_64 2.4.9-5.fc44 fedora 360.3 KiB gnutls x86_64 3.8.12-1.fc44 fedora 3.7 MiB go-srpm-macros noarch 3.8.0-2.fc44 fedora 61.9 KiB gpgverify noarch 2.2-4.fc44 fedora 8.7 KiB ima-evm-utils-libs x86_64 1.6.2-8.fc44 fedora 60.6 KiB jansson x86_64 2.14-4.fc44 fedora 88.9 KiB java-srpm-macros noarch 1-8.fc44 fedora 870.0 B json-c x86_64 0.18-8.fc44 fedora 82.6 KiB kernel-srpm-macros noarch 1.0-28.fc44 fedora 1.9 KiB keyutils-libs x86_64 1.6.3-7.fc44 fedora 54.2 KiB krb5-libs x86_64 1.22.2-3.fc44 updates 2.4 MiB libacl x86_64 2.3.2-6.fc44 fedora 35.8 KiB libarchive x86_64 3.8.6-1.fc44 updates 991.2 KiB libassuan x86_64 2.5.7-5.fc44 fedora 163.8 KiB libattr x86_64 2.5.2-8.fc44 fedora 24.3 KiB libblkid x86_64 2.41.4-7.fc44 updates 274.3 KiB libbrotli x86_64 1.2.0-3.fc44 fedora 865.0 KiB libcap x86_64 2.78-1.fc44 updates 212.1 KiB libcap-ng x86_64 0.9.3-1.fc44 updates 68.8 KiB libcbor x86_64 0.13.0-2.fc44 fedora 79.5 KiB libcom_err x86_64 1.47.3-4.fc44 fedora 63.0 KiB libcurl x86_64 8.18.0-6.fc44 updates 1.0 MiB libeconf x86_64 0.7.9-3.fc44 fedora 64.8 KiB libevent x86_64 2.1.12-17.fc44 fedora 978.7 KiB libfdisk x86_64 2.41.4-7.fc44 updates 388.3 KiB libffi x86_64 3.5.2-2.fc44 fedora 87.7 KiB libfido2 x86_64 1.16.0-5.fc44 fedora 246.4 KiB libfsverity x86_64 1.6-4.fc44 fedora 28.4 KiB libgcc x86_64 16.0.1-0.10.fc44 fedora 270.7 KiB libgcrypt x86_64 1.12.1-1.fc44 fedora 1.7 MiB libgomp x86_64 16.0.1-0.10.fc44 fedora 577.2 KiB libgpg-error x86_64 1.58-2.fc44 fedora 941.6 KiB libidn2 x86_64 2.3.8-3.fc44 fedora 556.4 KiB libksba x86_64 1.6.7-5.fc44 fedora 414.4 KiB liblastlog2 x86_64 2.41.4-7.fc44 updates 37.6 KiB libmount x86_64 2.41.4-7.fc44 updates 388.6 KiB libnghttp2 x86_64 1.68.0-3.fc44 fedora 166.1 KiB libnghttp3 x86_64 1.15.0-1.fc44 fedora 159.2 KiB libpkgconf x86_64 2.5.1-1.fc44 fedora 90.1 KiB libpsl x86_64 0.21.5-7.fc44 fedora 76.3 KiB libselinux x86_64 3.10-1.fc44 fedora 201.0 KiB libselinux-utils x86_64 3.10-1.fc44 fedora 305.7 KiB libsemanage x86_64 3.10-1.fc44 fedora 312.3 KiB libsepol x86_64 3.10-1.fc44 fedora 870.0 KiB libsmartcols x86_64 2.41.4-7.fc44 updates 188.3 KiB libssh x86_64 0.12.0-1.fc44 fedora 719.1 KiB libssh-config noarch 0.12.0-1.fc44 fedora 277.0 B libstdc++ x86_64 16.0.1-0.10.fc44 fedora 2.9 MiB libtasn1 x86_64 4.21.0-1.fc44 fedora 180.6 KiB libtool-ltdl x86_64 2.5.4-10.fc44 fedora 70.0 KiB libunistring x86_64 1.1-11.fc44 fedora 1.7 MiB libusb1 x86_64 1.0.29-5.fc44 fedora 175.2 KiB libuuid x86_64 2.41.4-7.fc44 updates 37.2 KiB libverto x86_64 0.3.2-12.fc44 fedora 25.3 KiB libxcrypt x86_64 4.5.2-3.fc44 fedora 293.2 KiB libxml2 x86_64 2.12.10-6.fc44 fedora 1.8 MiB libzstd x86_64 1.5.7-5.fc44 fedora 956.1 KiB linkdupes x86_64 0.7.3-2.fc44 updates 780.9 KiB lua-libs x86_64 5.4.8-5.fc44 fedora 281.7 KiB lua-srpm-macros noarch 1-17.fc44 fedora 1.3 KiB lz4-libs x86_64 1.10.0-4.fc44 fedora 157.3 KiB mpfr x86_64 4.2.2-3.fc44 fedora 849.1 KiB ncurses-base noarch 6.6-1.fc44 fedora 329.7 KiB ncurses-libs x86_64 6.6-1.fc44 fedora 968.9 KiB nettle x86_64 3.10.1-3.fc44 fedora 794.3 KiB ngtcp2 x86_64 1.21.0-1.fc44 fedora 330.2 KiB ngtcp2-crypto-ossl x86_64 1.21.0-1.fc44 fedora 51.6 KiB npth x86_64 1.8-4.fc44 fedora 49.5 KiB ocaml-srpm-macros noarch 11-3.fc44 fedora 1.9 KiB openblas-srpm-macros noarch 2-21.fc44 fedora 112.0 B openldap x86_64 2.6.13-1.fc44 fedora 669.9 KiB openssl-libs x86_64 1:3.5.5-2.fc44 updates 9.2 MiB p11-kit x86_64 0.26.2-1.fc44 fedora 2.6 MiB p11-kit-trust x86_64 0.26.2-1.fc44 fedora 478.3 KiB package-notes-srpm-macros noarch 0.5-16.fc44 fedora 1.6 KiB pam-libs x86_64 1.7.2-1.fc44 fedora 130.5 KiB pcre2 x86_64 10.47-1.fc44.1 fedora 718.6 KiB pcre2-syntax noarch 10.47-1.fc44.1 fedora 281.9 KiB perl-srpm-macros noarch 1-61.fc44 fedora 861.0 B pkgconf x86_64 2.5.1-1.fc44 fedora 92.7 KiB pkgconf-m4 noarch 2.5.1-1.fc44 fedora 14.3 KiB pkgconf-pkg-config x86_64 2.5.1-1.fc44 fedora 989.0 B policycoreutils x86_64 3.10-1.fc44 fedora 884.1 KiB popt x86_64 1.19-10.fc44 fedora 132.6 KiB publicsuffix-list-dafsa noarch 20260116-1.fc44 fedora 70.4 KiB pyproject-srpm-macros noarch 1.19.0-1.fc44 updates 1.9 KiB python-srpm-macros noarch 3.14-12.fc44 fedora 51.6 KiB qt5-srpm-macros noarch 5.15.18-2.fc44 fedora 500.0 B qt6-srpm-macros noarch 6.10.3-1.fc44 updates 472.0 B readline x86_64 8.3-4.fc44 fedora 519.5 KiB rpm x86_64 6.0.1-2.fc44 fedora 3.1 MiB rpm-build-libs x86_64 6.0.1-2.fc44 fedora 276.3 KiB rpm-libs x86_64 6.0.1-2.fc44 fedora 961.2 KiB rpm-plugin-selinux x86_64 6.0.1-2.fc44 fedora 11.9 KiB rpm-sequoia x86_64 1.10.1-1.fc44 fedora 2.4 MiB rpm-sign-libs x86_64 6.0.1-2.fc44 fedora 39.6 KiB rust-srpm-macros noarch 28.4-3.fc44 fedora 5.5 KiB selinux-policy noarch 43.6-1.fc44 updates 32.0 KiB selinux-policy-targeted noarch 43.6-1.fc44 updates 18.6 MiB setup noarch 2.15.0-28.fc44 fedora 724.9 KiB sqlite-libs x86_64 3.51.2-1.fc44 fedora 1.6 MiB systemd-libs x86_64 259.5-1.fc44 fedora 2.4 MiB systemd-standalone-sysusers x86_64 259.5-1.fc44 fedora 305.7 KiB tpm2-tss x86_64 4.1.3-9.fc44 fedora 1.6 MiB tree-sitter-srpm-macros noarch 0.4.2-2.fc44 fedora 8.3 KiB util-linux-core x86_64 2.41.4-7.fc44 updates 1.5 MiB xxhash-libs x86_64 0.8.3-4.fc44 fedora 94.0 KiB xz-libs x86_64 1:5.8.2-2.fc44 fedora 217.7 KiB zig-srpm-macros noarch 1-8.fc44 fedora 1.3 KiB zip x86_64 3.0-45.fc44 fedora 698.0 KiB zlib-ng-compat x86_64 2.3.3-3.fc44 fedora 165.6 KiB zstd x86_64 1.5.7-5.fc44 fedora 502.4 KiB Installing groups: Buildsystem building group Transaction Summary: Installing: 183 packages Total size of inbound packages is 69 MiB. Need to download 0 B. After this operation, 223 MiB extra will be used (install 223 MiB, remove 0 B). [ 1/183] tar-2:1.35-8.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/183] bzip2-0:1.0.8-23.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/183] redhat-rpm-config-0:343-19.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/183] rpm-build-0:6.0.1-2.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/183] unzip-0:6.0-69.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/183] cpio-0:2.15-9.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/183] which-0:2.23-4.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/183] bash-0:5.3.9-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/183] coreutils-0:9.10-3.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/183] grep-0:3.12-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/183] patch-0:2.8-4.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/183] sed-0:4.9-7.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/183] shadow-utils-2:4.19.0-6.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/183] diffutils-0:3.12-5.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/183] fedora-release-common-0:44-17 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/183] findutils-1:4.10.0-7.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/183] gzip-0:1.14-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/183] info-0:7.2-9.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/183] xz-1:5.8.2-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/183] util-linux-0:2.41.4-7.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/183] gawk-0:5.3.2-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/183] glibc-minimal-langpack-0:2.43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/183] libacl-0:2.3.2-6.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/183] libselinux-0:3.10-1.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/183] bzip2-libs-0:1.0.8-23.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/183] ansible-srpm-macros-0:1-20.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/183] cmake-srpm-macros-0:4.3.0-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/183] dwz-0:0.16-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/183] efi-srpm-macros-0:6-6.fc44.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/183] filesystem-srpm-macros-0:3.18 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/183] fonts-srpm-macros-1:5.0.0-2.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/183] forge-srpm-macros-0:0.4.0-4.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/183] fpc-srpm-macros-0:1.3-16.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/183] gap-srpm-macros-0:2-2.fc44.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/183] ghc-srpm-macros-0:1.10-1.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/183] gnat-srpm-macros-0:7-2.fc44.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/183] go-srpm-macros-0:3.8.0-2.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/183] java-srpm-macros-0:1-8.fc44.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/183] kernel-srpm-macros-0:1.0-28.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/183] lua-srpm-macros-0:1-17.fc44.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/183] ocaml-srpm-macros-0:11-3.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/183] openblas-srpm-macros-0:2-21.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/183] package-notes-srpm-macros-0:0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/183] perl-srpm-macros-0:1-61.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/183] python-srpm-macros-0:3.14-12. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/183] qt5-srpm-macros-0:5.15.18-2.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/183] rpm-0:6.0.1-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/183] rust-srpm-macros-0:28.4-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/183] tree-sitter-srpm-macros-0:0.4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/183] zig-srpm-macros-0:1-8.fc44.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/183] zip-0:3.0-45.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/183] elfutils-0:0.194-5.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/183] elfutils-libelf-0:0.194-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/183] libgcc-0:16.0.1-0.10.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/183] libstdc++-0:16.0.1-0.10.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/183] popt-0:1.19-10.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/183] readline-0:8.3-4.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/183] rpm-build-libs-0:6.0.1-2.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/183] rpm-libs-0:6.0.1-2.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/183] zstd-0:1.5.7-5.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/183] filesystem-0:3.18-52.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/183] ncurses-libs-0:6.6-1.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/183] coreutils-common-0:9.10-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/183] gmp-1:6.3.0-5.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/183] libattr-0:2.5.2-8.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/183] systemd-libs-0:259.5-1.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/183] pcre2-0:10.47-1.fc44.1.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/183] ed-0:1.22.5-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/183] audit-libs-0:4.1.4-1.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/183] libeconf-0:0.7.9-3.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/183] libsemanage-0:3.10-1.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/183] libxcrypt-0:4.5.2-3.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/183] pam-libs-0:1.7.2-1.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/183] setup-0:2.15.0-28.fc44.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/183] fedora-repos-0:44-1.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/183] xz-libs-1:5.8.2-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/183] zlib-ng-compat-0:2.3.3-3.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/183] util-linux-core-0:2.41.4-7.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/183] mpfr-0:4.2.2-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/183] glibc-common-0:2.43-3.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/183] libsepol-0:3.10-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/183] elfutils-debuginfod-client-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/183] elfutils-libs-0:0.194-5.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/183] libzstd-0:1.5.7-5.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/183] libgomp-0:16.0.1-0.10.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/183] lua-libs-0:5.4.8-5.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/183] rpm-sign-libs-0:6.0.1-2.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/183] rpm-sequoia-0:1.10.1-1.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/183] sqlite-libs-0:3.51.2-1.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/183] ncurses-base-0:6.6-1.fc44.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/183] gnulib-l10n-0:20241231-2.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/183] pcre2-syntax-0:10.47-1.fc44.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/183] fedora-gpg-keys-0:44-1.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/183] json-c-0:0.18-8.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/183] elfutils-default-yama-scope-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/183] gnupg2-0:2.4.9-5.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/183] ima-evm-utils-libs-0:1.6.2-8. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/183] libfsverity-0:1.6-4.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/183] gpgverify-0:2.2-4.fc44.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/183] gnupg2-dirmngr-0:2.4.9-5.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/183] gnupg2-gpg-agent-0:2.4.9-5.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/183] gnupg2-gpgconf-0:2.4.9-5.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/183] gnupg2-keyboxd-0:2.4.9-5.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/183] gnupg2-verify-0:2.4.9-5.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/183] libassuan-0:2.5.7-5.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/183] libgcrypt-0:1.12.1-1.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/183] libgpg-error-0:1.58-2.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/183] npth-0:1.8-4.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/183] tpm2-tss-0:4.1.3-9.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/183] glibc-0:2.43-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/183] gnutls-0:3.8.12-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/183] libksba-0:1.6.7-5.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/183] openldap-0:2.6.13-1.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/183] libusb1-0:1.0.29-5.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/183] glibc-gconv-extra-0:2.43-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/183] crypto-policies-0:20251128-3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/183] libidn2-0:2.3.8-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/183] libtasn1-0:4.21.0-1.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/183] libunistring-0:1.1-11.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/183] nettle-0:3.10.1-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/183] p11-kit-0:0.26.2-1.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/183] cyrus-sasl-lib-0:2.1.28-35.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/183] libevent-0:2.1.12-17.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/183] libtool-ltdl-0:2.5.4-10.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/183] libffi-0:3.5.2-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/183] gdbm-libs-1:1.23-11.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/183] libblkid-0:2.41.4-7.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/183] libuuid-0:2.41.4-7.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/183] libmount-0:2.41.4-7.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/183] libsmartcols-0:2.41.4-7.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/183] libcap-ng-0:0.9.3-1.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/183] libfdisk-0:2.41.4-7.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/183] liblastlog2-0:2.41.4-7.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/183] openssl-libs-1:3.5.5-2.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/183] libcap-0:2.78-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/183] file-libs-0:5.46-10.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/183] file-0:5.46-10.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/183] binutils-0:2.46-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/183] alternatives-0:1.33-5.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/183] jansson-0:2.14-4.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/183] debugedit-0:5.3-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/183] libarchive-0:3.8.6-1.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/183] libxml2-0:2.12.10-6.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/183] lz4-libs-0:1.10.0-4.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/183] pkgconf-pkg-config-0:2.5.1-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/183] pkgconf-0:2.5.1-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/183] pkgconf-m4-0:2.5.1-1.fc44.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/183] libpkgconf-0:2.5.1-1.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/183] curl-0:8.18.0-6.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/183] R-srpm-macros-0:1.3.7-1.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/183] build-reproducibility-srpm-ma 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/183] add-determinism-0:0.7.3-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [153/183] linkdupes-0:0.7.3-2.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [154/183] pyproject-srpm-macros-0:1.19. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [155/183] qt6-srpm-macros-0:6.10.3-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [156/183] p11-kit-trust-0:0.26.2-1.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [157/183] ca-certificates-0:2025.2.80_v 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [158/183] fedora-release-0:44-17.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [159/183] systemd-standalone-sysusers-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [160/183] gdb-minimal-0:17.1-4.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [161/183] xxhash-libs-0:0.8.3-4.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [162/183] fedora-release-identity-basic 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [163/183] libcurl-0:8.18.0-6.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [164/183] libbrotli-0:1.2.0-3.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [165/183] libnghttp2-0:1.68.0-3.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [166/183] libnghttp3-0:1.15.0-1.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [167/183] libpsl-0:0.21.5-7.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [168/183] libssh-0:0.12.0-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [169/183] ngtcp2-0:1.21.0-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [170/183] ngtcp2-crypto-ossl-0:1.21.0-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [171/183] publicsuffix-list-dafsa-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [172/183] libfido2-0:1.16.0-5.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [173/183] libssh-config-0:0.12.0-1.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [174/183] libcbor-0:0.13.0-2.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [175/183] krb5-libs-0:1.22.2-3.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [176/183] keyutils-libs-0:1.6.3-7.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [177/183] libcom_err-0:1.47.3-4.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [178/183] libverto-0:0.3.2-12.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [179/183] selinux-policy-targeted-0:43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [180/183] policycoreutils-0:3.10-1.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [181/183] selinux-policy-0:43.6-1.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [182/183] libselinux-utils-0:3.10-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [183/183] rpm-plugin-selinux-0:6.0.1-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [183/183] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction Importing OpenPGP key 0x6D9F90A6: UserID : "Fedora (44) " Fingerprint: 36F612DCF27F7D1A48A835E4DBFCF71C6D9F90A6 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-44-primary The key was successfully imported. [ 1/185] Verify package files 100% | 536.0 B/s | 183.0 B | 00m00s [ 2/185] Prepare transaction 100% | 3.8 KiB/s | 183.0 B | 00m00s [ 3/185] Installing libgcc-0:16.0.1-0. 100% | 266.0 MiB/s | 272.4 KiB | 00m00s [ 4/185] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 5/185] Installing publicsuffix-list- 100% | 0.0 B/s | 71.1 KiB | 00m00s [ 6/185] Installing fedora-release-ide 100% | 0.0 B/s | 888.0 B | 00m00s [ 7/185] Installing fedora-gpg-keys-0: 100% | 44.5 MiB/s | 182.1 KiB | 00m00s [ 8/185] Installing fedora-repos-0:44- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 9/185] Installing fedora-release-com 100% | 24.3 MiB/s | 24.9 KiB | 00m00s [ 10/185] Installing fedora-release-0:4 100% | 9.3 KiB/s | 124.0 B | 00m00s >>> Running sysusers scriptlet: setup-0:2.15.0-28.fc44.noarch >>> Finished sysusers scriptlet: setup-0:2.15.0-28.fc44.noarch >>> Scriptlet output: >>> Creating group 'adm' with GID 4. >>> Creating group 'audio' with GID 63. >>> Creating group 'cdrom' with GID 11. >>> Creating group 'clock' with GID 103. >>> Creating group 'dialout' with GID 18. >>> Creating group 'disk' with GID 6. >>> Creating group 'floppy' with GID 19. >>> Creating group 'ftp' with GID 50. >>> Creating group 'games' with GID 20. >>> Creating group 'input' with GID 104. >>> Creating group 'kmem' with GID 9. >>> Creating group 'kvm' with GID 36. >>> Creating group 'lock' with GID 54. >>> Creating group 'lp' with GID 7. >>> Creating group 'mail' with GID 12. >>> Creating group 'man' with GID 15. >>> Creating group 'mem' with GID 8. >>> Creating group 'nobody' with GID 65534. >>> Creating group 'render' with GID 105. >>> Creating group 'root' with GID 0. >>> Creating group 'sgx' with GID 106. >>> Creating group 'sys' with GID 3. >>> Creating group 'tape' with GID 33. >>> Creating group 'tty' with GID 5. >>> Creating group 'users' with GID 100. >>> Creating group 'utmp' with GID 22. >>> Creating group 'video' with GID 39. >>> Creating group 'wheel' with GID 10. >>> Creating user 'adm' (adm) with UID 3 and GID 4. >>> Creating group 'bin' with GID 1. >>> Creating user 'bin' (bin) with UID 1 and GID 1. >>> Creating group 'daemon' with GID 2. >>> Creating user 'daemon' (daemon) with UID 2 and GID 2. >>> Creating user 'ftp' (FTP User) with UID 14 and GID 50. >>> Creating user 'games' (games) with UID 12 and GID 100. >>> Creating user 'halt' (halt) with UID 7 and GID 0. >>> Creating user 'lp' (lp) with UID 4 and GID 7. >>> Creating user 'mail' (mail) with UID 8 and GID 12. >>> Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534. >>> Creating user 'operator' (operator) with UID 11 and GID 0. >>> Creating user 'root' (Super User) with UID 0 and GID 0. >>> Creating user 'shutdown' (shutdown) with UID 6 and GID 0. >>> Creating user 'sync' (sync) with UID 5 and GID 0. >>> [ 11/185] Installing setup-0:2.15.0-28. 100% | 54.9 MiB/s | 730.6 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 12/185] Installing filesystem-0:3.18- 100% | 3.1 MiB/s | 212.8 KiB | 00m00s [ 13/185] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 748.0 B | 00m00s [ 14/185] Installing pkgconf-m4-0:2.5.1 100% | 0.0 B/s | 14.7 KiB | 00m00s [ 15/185] Installing pcre2-syntax-0:10. 100% | 277.7 MiB/s | 284.3 KiB | 00m00s [ 16/185] Installing gnulib-l10n-0:2024 100% | 215.5 MiB/s | 661.9 KiB | 00m00s [ 17/185] Installing coreutils-common-0 100% | 411.0 MiB/s | 10.7 MiB | 00m00s [ 18/185] Installing ncurses-base-0:6.6 100% | 86.7 MiB/s | 355.3 KiB | 00m00s [ 19/185] Installing bash-0:5.3.9-3.fc4 100% | 314.1 MiB/s | 8.5 MiB | 00m00s [ 20/185] Installing glibc-common-0:2.4 100% | 68.3 MiB/s | 1.0 MiB | 00m00s [ 21/185] Installing glibc-gconv-extra- 100% | 324.6 MiB/s | 7.5 MiB | 00m00s [ 22/185] Installing glibc-0:2.43-3.fc4 100% | 210.4 MiB/s | 6.9 MiB | 00m00s [ 23/185] Installing ncurses-libs-0:6.6 100% | 317.5 MiB/s | 975.4 KiB | 00m00s [ 24/185] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 25/185] Installing zlib-ng-compat-0:2 100% | 162.6 MiB/s | 166.5 KiB | 00m00s [ 26/185] Installing bzip2-libs-0:1.0.8 100% | 0.0 B/s | 81.6 KiB | 00m00s [ 27/185] Installing libgpg-error-0:1.5 100% | 71.2 MiB/s | 947.5 KiB | 00m00s [ 28/185] Installing libstdc++-0:16.0.1 100% | 416.9 MiB/s | 2.9 MiB | 00m00s [ 29/185] Installing libassuan-0:2.5.7- 100% | 161.8 MiB/s | 165.7 KiB | 00m00s [ 30/185] Installing libgcrypt-0:1.12.1 100% | 414.6 MiB/s | 1.7 MiB | 00m00s [ 31/185] Installing readline-0:8.3-4.f 100% | 254.7 MiB/s | 521.6 KiB | 00m00s [ 32/185] Installing gmp-1:6.3.0-5.fc44 100% | 399.2 MiB/s | 817.5 KiB | 00m00s [ 33/185] Installing xz-libs-1:5.8.2-2. 100% | 213.7 MiB/s | 218.8 KiB | 00m00s [ 34/185] Installing libuuid-0:2.41.4-7 100% | 0.0 B/s | 38.3 KiB | 00m00s [ 35/185] Installing popt-0:1.19-10.fc4 100% | 68.0 MiB/s | 139.3 KiB | 00m00s [ 36/185] Installing systemd-libs-0:259 100% | 407.1 MiB/s | 2.4 MiB | 00m00s [ 37/185] Installing libzstd-0:1.5.7-5. 100% | 467.5 MiB/s | 957.4 KiB | 00m00s [ 38/185] Installing elfutils-libelf-0: 100% | 564.4 MiB/s | 1.1 MiB | 00m00s [ 39/185] Installing npth-0:1.8-4.fc44. 100% | 0.0 B/s | 50.6 KiB | 00m00s [ 40/185] Installing libblkid-0:2.41.4- 100% | 268.8 MiB/s | 275.3 KiB | 00m00s [ 41/185] Installing libxcrypt-0:4.5.2- 100% | 289.0 MiB/s | 295.9 KiB | 00m00s [ 42/185] Installing libsepol-0:3.10-1. 100% | 425.3 MiB/s | 871.0 KiB | 00m00s [ 43/185] Installing sqlite-libs-0:3.51 100% | 397.6 MiB/s | 1.6 MiB | 00m00s [ 44/185] Installing gnupg2-gpgconf-0:2 100% | 22.4 MiB/s | 251.8 KiB | 00m00s [ 45/185] Installing libattr-0:2.5.2-8. 100% | 0.0 B/s | 25.2 KiB | 00m00s [ 46/185] Installing libacl-0:2.3.2-6.f 100% | 0.0 B/s | 36.6 KiB | 00m00s [ 47/185] Installing pcre2-0:10.47-1.fc 100% | 351.6 MiB/s | 720.0 KiB | 00m00s [ 48/185] Installing libselinux-0:3.10- 100% | 197.5 MiB/s | 202.3 KiB | 00m00s [ 49/185] Installing grep-0:3.12-3.fc44 100% | 71.6 MiB/s | 1.0 MiB | 00m00s [ 50/185] Installing sed-0:4.9-7.fc44.x 100% | 65.0 MiB/s | 865.4 KiB | 00m00s [ 51/185] Installing findutils-1:4.10.0 100% | 124.6 MiB/s | 1.9 MiB | 00m00s [ 52/185] Installing libtasn1-0:4.21.0- 100% | 178.2 MiB/s | 182.4 KiB | 00m00s [ 53/185] Installing libunistring-0:1.1 100% | 433.6 MiB/s | 1.7 MiB | 00m00s [ 54/185] Installing libidn2-0:2.3.8-3. 100% | 49.9 MiB/s | 562.6 KiB | 00m00s [ 55/185] Installing crypto-policies-0: 100% | 38.5 MiB/s | 157.7 KiB | 00m00s [ 56/185] Installing xz-1:5.8.2-2.fc44. 100% | 85.6 MiB/s | 1.4 MiB | 00m00s [ 57/185] Installing libmount-0:2.41.4- 100% | 380.6 MiB/s | 389.7 KiB | 00m00s [ 58/185] Installing gnupg2-verify-0:2. 100% | 32.1 MiB/s | 361.7 KiB | 00m00s [ 59/185] Installing dwz-0:0.16-3.fc44. 100% | 25.9 MiB/s | 292.3 KiB | 00m00s [ 60/185] Installing mpfr-0:4.2.2-3.fc4 100% | 276.9 MiB/s | 850.8 KiB | 00m00s [ 61/185] Installing gawk-0:5.3.2-3.fc4 100% | 114.6 MiB/s | 1.8 MiB | 00m00s [ 62/185] Installing libksba-0:1.6.7-5. 100% | 407.1 MiB/s | 416.9 KiB | 00m00s [ 63/185] Installing unzip-0:6.0-69.fc4 100% | 36.6 MiB/s | 449.3 KiB | 00m00s [ 64/185] Installing file-libs-0:5.46-1 100% | 741.6 MiB/s | 11.9 MiB | 00m00s [ 65/185] Installing file-0:5.46-10.fc4 100% | 9.0 MiB/s | 101.6 KiB | 00m00s [ 66/185] Installing diffutils-0:3.12-5 100% | 104.8 MiB/s | 1.6 MiB | 00m00s [ 67/185] Installing libeconf-0:0.7.9-3 100% | 64.9 MiB/s | 66.4 KiB | 00m00s [ 68/185] Installing lua-libs-0:5.4.8-5 100% | 276.6 MiB/s | 283.2 KiB | 00m00s [ 69/185] Installing json-c-0:0.18-8.fc 100% | 0.0 B/s | 83.9 KiB | 00m00s [ 70/185] Installing libffi-0:3.5.2-2.f 100% | 87.0 MiB/s | 89.1 KiB | 00m00s [ 71/185] Installing p11-kit-0:0.26.2-1 100% | 144.1 MiB/s | 2.6 MiB | 00m00s [ 72/185] Installing libsmartcols-0:2.4 100% | 184.9 MiB/s | 189.3 KiB | 00m00s [ 73/185] Installing libcap-ng-0:0.9.3- 100% | 69.0 MiB/s | 70.6 KiB | 00m00s [ 74/185] Installing audit-libs-0:4.1.4 100% | 383.8 MiB/s | 393.0 KiB | 00m00s [ 75/185] Installing pam-libs-0:1.7.2-1 100% | 129.8 MiB/s | 132.9 KiB | 00m00s [ 76/185] Installing libcap-0:2.78-1.fc 100% | 17.7 MiB/s | 217.2 KiB | 00m00s [ 77/185] Installing libsemanage-0:3.10 100% | 306.7 MiB/s | 314.1 KiB | 00m00s [ 78/185] Installing alternatives-0:1.3 100% | 5.6 MiB/s | 63.6 KiB | 00m00s [ 79/185] Installing p11-kit-trust-0:0. 100% | 23.4 MiB/s | 480.0 KiB | 00m00s [ 80/185] Installing ngtcp2-0:1.21.0-1. 100% | 324.0 MiB/s | 331.8 KiB | 00m00s [ 81/185] Installing openssl-libs-1:3.5 100% | 437.5 MiB/s | 9.2 MiB | 00m00s [ 82/185] Installing coreutils-0:9.10-3 100% | 189.7 MiB/s | 5.7 MiB | 00m00s [ 83/185] Installing ca-certificates-0: 100% | 2.2 MiB/s | 2.5 MiB | 00m01s [ 84/185] Installing gzip-0:1.14-2.fc44 100% | 30.6 MiB/s | 407.1 KiB | 00m00s [ 85/185] Installing rpm-sequoia-0:1.10 100% | 394.1 MiB/s | 2.4 MiB | 00m00s [ 86/185] Installing libfsverity-0:1.6- 100% | 0.0 B/s | 29.4 KiB | 00m00s [ 87/185] Installing libevent-0:2.1.12- 100% | 319.8 MiB/s | 982.4 KiB | 00m00s [ 88/185] Installing ngtcp2-crypto-ossl 100% | 51.2 MiB/s | 52.5 KiB | 00m00s [ 89/185] Installing util-linux-core-0: 100% | 92.7 MiB/s | 1.5 MiB | 00m00s [ 90/185] Installing zip-0:3.0-45.fc44. 100% | 52.7 MiB/s | 701.9 KiB | 00m00s [ 91/185] Installing gnupg2-keyboxd-0:2 100% | 28.2 MiB/s | 202.5 KiB | 00m00s [ 92/185] Installing libpsl-0:0.21.5-7. 100% | 75.6 MiB/s | 77.4 KiB | 00m00s [ 93/185] Installing tar-2:1.35-8.fc44. 100% | 156.7 MiB/s | 3.0 MiB | 00m00s [ 94/185] Installing linkdupes-0:0.7.3- 100% | 63.7 MiB/s | 782.3 KiB | 00m00s [ 95/185] Installing libselinux-utils-0 100% | 24.0 MiB/s | 320.1 KiB | 00m00s [ 96/185] Installing liblastlog2-0:2.41 100% | 7.8 MiB/s | 39.8 KiB | 00m00s [ 97/185] Installing systemd-standalone 100% | 23.0 MiB/s | 306.2 KiB | 00m00s [ 98/185] Installing rpm-libs-0:6.0.1-2 100% | 313.4 MiB/s | 962.8 KiB | 00m00s [ 99/185] Installing libfdisk-0:2.41.4- 100% | 190.1 MiB/s | 389.3 KiB | 00m00s [100/185] Installing util-linux-0:2.41. 100% | 115.6 MiB/s | 3.6 MiB | 00m00s [101/185] Installing policycoreutils-0: 100% | 38.7 MiB/s | 912.6 KiB | 00m00s [102/185] Installing selinux-policy-0:4 100% | 1.7 MiB/s | 33.6 KiB | 00m00s [103/185] Installing selinux-policy-tar 100% | 215.9 MiB/s | 14.9 MiB | 00m00s [104/185] Installing zstd-0:1.5.7-5.fc4 100% | 35.3 MiB/s | 506.0 KiB | 00m00s [105/185] Installing libusb1-0:1.0.29-5 100% | 15.7 MiB/s | 176.9 KiB | 00m00s >>> Running sysusers scriptlet: tpm2-tss-0:4.1.3-9.fc44.x86_64 >>> Finished sysusers scriptlet: tpm2-tss-0:4.1.3-9.fc44.x86_64 >>> Scriptlet output: >>> Creating group 'tss' with GID 59. >>> Creating user 'tss' (Account used for TPM access) with UID 59 and GID 59. >>> [106/185] Installing tpm2-tss-0:4.1.3-9 100% | 326.6 MiB/s | 1.6 MiB | 00m00s [107/185] Installing ima-evm-utils-libs 100% | 60.4 MiB/s | 61.9 KiB | 00m00s [108/185] Installing gnupg2-gpg-agent-0 100% | 35.3 MiB/s | 686.5 KiB | 00m00s [109/185] Installing libxml2-0:2.12.10- 100% | 110.7 MiB/s | 1.8 MiB | 00m00s [110/185] Installing nettle-0:3.10.1-3. 100% | 389.4 MiB/s | 797.4 KiB | 00m00s [111/185] Installing gnutls-0:3.8.12-1. 100% | 415.1 MiB/s | 3.7 MiB | 00m00s [112/185] Installing bzip2-0:1.0.8-23.f 100% | 8.8 MiB/s | 99.5 KiB | 00m00s [113/185] Installing add-determinism-0: 100% | 145.5 MiB/s | 2.2 MiB | 00m00s [114/185] Installing build-reproducibil 100% | 0.0 B/s | 1.5 KiB | 00m00s [115/185] Installing cpio-0:2.15-9.fc44 100% | 78.8 MiB/s | 1.1 MiB | 00m00s [116/185] Installing ed-0:1.22.5-2.fc44 100% | 13.5 MiB/s | 152.0 KiB | 00m00s [117/185] Installing patch-0:2.8-4.fc44 100% | 20.2 MiB/s | 228.1 KiB | 00m00s [118/185] Installing libgomp-0:16.0.1-0 100% | 282.5 MiB/s | 578.6 KiB | 00m00s [119/185] Installing libtool-ltdl-0:2.5 100% | 0.0 B/s | 71.1 KiB | 00m00s [120/185] Installing gdbm-libs-1:1.23-1 100% | 128.3 MiB/s | 131.3 KiB | 00m00s [121/185] Installing cyrus-sasl-lib-0:2 100% | 144.4 MiB/s | 2.3 MiB | 00m00s [122/185] Installing openldap-0:2.6.13- 100% | 328.9 MiB/s | 673.7 KiB | 00m00s [123/185] Installing gnupg2-dirmngr-0:2 100% | 32.7 MiB/s | 636.6 KiB | 00m00s [124/185] Installing gnupg2-0:2.4.9-5.f 100% | 250.3 MiB/s | 6.5 MiB | 00m00s [125/185] Installing rpm-sign-libs-0:6. 100% | 0.0 B/s | 40.5 KiB | 00m00s [126/185] Installing gpgverify-0:2.2-4. 100% | 0.0 B/s | 9.4 KiB | 00m00s [127/185] Installing jansson-0:2.14-4.f 100% | 88.2 MiB/s | 90.3 KiB | 00m00s [128/185] Installing lz4-libs-0:1.10.0- 100% | 154.6 MiB/s | 158.4 KiB | 00m00s [129/185] Installing libarchive-0:3.8.6 100% | 323.3 MiB/s | 993.2 KiB | 00m00s [130/185] Installing libpkgconf-0:2.5.1 100% | 89.1 MiB/s | 91.3 KiB | 00m00s [131/185] Installing pkgconf-0:2.5.1-1. 100% | 8.5 MiB/s | 95.2 KiB | 00m00s [132/185] Installing pkgconf-pkg-config 100% | 177.3 KiB/s | 1.8 KiB | 00m00s [133/185] Installing xxhash-libs-0:0.8. 100% | 93.2 MiB/s | 95.4 KiB | 00m00s [134/185] Installing libbrotli-0:1.2.0- 100% | 282.3 MiB/s | 867.3 KiB | 00m00s [135/185] Installing libnghttp2-0:1.68. 100% | 163.3 MiB/s | 167.3 KiB | 00m00s [136/185] Installing libnghttp3-0:1.15. 100% | 156.8 MiB/s | 160.6 KiB | 00m00s [137/185] Installing libcbor-0:0.13.0-2 100% | 79.0 MiB/s | 80.9 KiB | 00m00s [138/185] Installing libfido2-0:1.16.0- 100% | 242.1 MiB/s | 247.9 KiB | 00m00s [139/185] Installing keyutils-libs-0:1. 100% | 0.0 B/s | 55.6 KiB | 00m00s [140/185] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 64.1 KiB | 00m00s [141/185] Installing libverto-0:0.3.2-1 100% | 26.4 MiB/s | 27.1 KiB | 00m00s [142/185] Installing krb5-libs-0:1.22.2 100% | 342.7 MiB/s | 2.4 MiB | 00m00s [143/185] Installing libssh-0:0.12.0-1. 100% | 352.1 MiB/s | 721.2 KiB | 00m00s [144/185] Installing libcurl-0:8.18.0-6 100% | 332.7 MiB/s | 1.0 MiB | 00m00s [145/185] Installing curl-0:8.18.0-6.fc 100% | 23.6 MiB/s | 482.6 KiB | 00m00s [146/185] Installing rpm-0:6.0.1-2.fc44 100% | 88.0 MiB/s | 2.6 MiB | 00m00s [147/185] Installing cmake-srpm-macros- 100% | 0.0 B/s | 804.0 B | 00m00s [148/185] Installing efi-srpm-macros-0: 100% | 0.0 B/s | 41.2 KiB | 00m00s [149/185] Installing java-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [150/185] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [151/185] Installing tree-sitter-srpm-m 100% | 0.0 B/s | 9.3 KiB | 00m00s [152/185] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [153/185] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [154/185] Installing elfutils-default-y 100% | 408.6 KiB/s | 2.0 KiB | 00m00s [155/185] Installing elfutils-libs-0:0. 100% | 233.4 MiB/s | 717.1 KiB | 00m00s [156/185] Installing elfutils-debuginfo 100% | 7.0 MiB/s | 86.0 KiB | 00m00s [157/185] Installing elfutils-0:0.194-5 100% | 164.4 MiB/s | 3.0 MiB | 00m00s [158/185] Installing binutils-0:2.46-1. 100% | 368.6 MiB/s | 27.3 MiB | 00m00s [159/185] Installing gdb-minimal-0:17.1 100% | 330.1 MiB/s | 14.2 MiB | 00m00s [160/185] Installing debugedit-0:5.3-2. 100% | 18.2 MiB/s | 224.0 KiB | 00m00s [161/185] Installing rpm-build-libs-0:6 100% | 270.6 MiB/s | 277.1 KiB | 00m00s [162/185] Installing rust-srpm-macros-0 100% | 0.0 B/s | 6.4 KiB | 00m00s [163/185] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [164/185] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [165/185] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [166/185] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [167/185] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.1 KiB | 00m00s [168/185] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [169/185] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [170/185] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [171/185] Installing gap-srpm-macros-0: 100% | 0.0 B/s | 2.7 KiB | 00m00s [172/185] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [173/185] Installing ansible-srpm-macro 100% | 8.8 MiB/s | 36.2 KiB | 00m00s [174/185] Installing rpm-build-0:6.0.1- 100% | 22.8 MiB/s | 303.7 KiB | 00m00s [175/185] Installing pyproject-srpm-mac 100% | 0.0 B/s | 2.5 KiB | 00m00s [176/185] Installing redhat-rpm-config- 100% | 185.4 MiB/s | 189.9 KiB | 00m00s [177/185] Installing forge-srpm-macros- 100% | 0.0 B/s | 40.3 KiB | 00m00s [178/185] Installing fonts-srpm-macros- 100% | 0.0 B/s | 57.0 KiB | 00m00s [179/185] Installing go-srpm-macros-0:3 100% | 0.0 B/s | 63.0 KiB | 00m00s [180/185] Installing python-srpm-macros 100% | 0.0 B/s | 52.9 KiB | 00m00s [181/185] Installing R-srpm-macros-0:1. 100% | 0.0 B/s | 4.4 KiB | 00m00s [182/185] Installing rpm-plugin-selinux 100% | 0.0 B/s | 12.9 KiB | 00m00s [183/185] Installing which-0:2.23-4.fc4 100% | 7.0 MiB/s | 85.6 KiB | 00m00s [184/185] Installing shadow-utils-2:4.1 100% | 154.7 MiB/s | 4.0 MiB | 00m00s [185/185] Installing info-0:7.2-9.fc44. 100% | 61.4 KiB/s | 366.0 KiB | 00m06s Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: R-srpm-macros-1.3.7-1.fc44.noarch add-determinism-0.7.3-2.fc44.x86_64 alternatives-1.33-5.fc44.x86_64 ansible-srpm-macros-1-20.1.fc44.noarch audit-libs-4.1.4-1.fc44.x86_64 bash-5.3.9-3.fc44.x86_64 binutils-2.46-1.fc44.x86_64 build-reproducibility-srpm-macros-0.7.3-2.fc44.noarch bzip2-1.0.8-23.fc44.x86_64 bzip2-libs-1.0.8-23.fc44.x86_64 ca-certificates-2025.2.80_v9.0.304-7.fc44.noarch cmake-srpm-macros-4.3.0-1.fc44.noarch coreutils-9.10-3.fc44.x86_64 coreutils-common-9.10-3.fc44.x86_64 cpio-2.15-9.fc44.x86_64 crypto-policies-20251128-3.git19878fe.fc44.noarch curl-8.18.0-6.fc44.x86_64 cyrus-sasl-lib-2.1.28-35.fc44.x86_64 debugedit-5.3-2.fc44.x86_64 diffutils-3.12-5.fc44.x86_64 dwz-0.16-3.fc44.x86_64 ed-1.22.5-2.fc44.x86_64 efi-srpm-macros-6-6.fc44.noarch elfutils-0.194-5.fc44.x86_64 elfutils-debuginfod-client-0.194-5.fc44.x86_64 elfutils-default-yama-scope-0.194-5.fc44.noarch elfutils-libelf-0.194-5.fc44.x86_64 elfutils-libs-0.194-5.fc44.x86_64 fedora-gpg-keys-44-1.noarch fedora-release-44-17.noarch fedora-release-common-44-17.noarch fedora-release-identity-basic-44-17.noarch fedora-repos-44-1.noarch file-5.46-10.fc44.x86_64 file-libs-5.46-10.fc44.x86_64 filesystem-3.18-52.fc44.x86_64 filesystem-srpm-macros-3.18-52.fc44.noarch findutils-4.10.0-7.fc44.x86_64 fonts-srpm-macros-5.0.0-2.fc44.noarch forge-srpm-macros-0.4.0-4.fc44.noarch fpc-srpm-macros-1.3-16.fc44.noarch gap-srpm-macros-2-2.fc44.noarch gawk-5.3.2-3.fc44.x86_64 gdb-minimal-17.1-4.fc44.x86_64 gdbm-libs-1.23-11.fc44.x86_64 ghc-srpm-macros-1.10-1.fc44.noarch glibc-2.43-3.fc44.x86_64 glibc-common-2.43-3.fc44.x86_64 glibc-gconv-extra-2.43-3.fc44.x86_64 glibc-minimal-langpack-2.43-3.fc44.x86_64 gmp-6.3.0-5.fc44.x86_64 gnat-srpm-macros-7-2.fc44.noarch gnulib-l10n-20241231-2.fc44.noarch gnupg2-2.4.9-5.fc44.x86_64 gnupg2-dirmngr-2.4.9-5.fc44.x86_64 gnupg2-gpg-agent-2.4.9-5.fc44.x86_64 gnupg2-gpgconf-2.4.9-5.fc44.x86_64 gnupg2-keyboxd-2.4.9-5.fc44.x86_64 gnupg2-verify-2.4.9-5.fc44.x86_64 gnutls-3.8.12-1.fc44.x86_64 go-srpm-macros-3.8.0-2.fc44.noarch gpg-pubkey-36f612dcf27f7d1a48a835e4dbfcf71c6d9f90a6-6786af3b gpgverify-2.2-4.fc44.noarch grep-3.12-3.fc44.x86_64 gzip-1.14-2.fc44.x86_64 ima-evm-utils-libs-1.6.2-8.fc44.x86_64 info-7.2-9.fc44.x86_64 jansson-2.14-4.fc44.x86_64 java-srpm-macros-1-8.fc44.noarch json-c-0.18-8.fc44.x86_64 kernel-srpm-macros-1.0-28.fc44.noarch keyutils-libs-1.6.3-7.fc44.x86_64 krb5-libs-1.22.2-3.fc44.x86_64 libacl-2.3.2-6.fc44.x86_64 libarchive-3.8.6-1.fc44.x86_64 libassuan-2.5.7-5.fc44.x86_64 libattr-2.5.2-8.fc44.x86_64 libblkid-2.41.4-7.fc44.x86_64 libbrotli-1.2.0-3.fc44.x86_64 libcap-2.78-1.fc44.x86_64 libcap-ng-0.9.3-1.fc44.x86_64 libcbor-0.13.0-2.fc44.x86_64 libcom_err-1.47.3-4.fc44.x86_64 libcurl-8.18.0-6.fc44.x86_64 libeconf-0.7.9-3.fc44.x86_64 libevent-2.1.12-17.fc44.x86_64 libfdisk-2.41.4-7.fc44.x86_64 libffi-3.5.2-2.fc44.x86_64 libfido2-1.16.0-5.fc44.x86_64 libfsverity-1.6-4.fc44.x86_64 libgcc-16.0.1-0.10.fc44.x86_64 libgcrypt-1.12.1-1.fc44.x86_64 libgomp-16.0.1-0.10.fc44.x86_64 libgpg-error-1.58-2.fc44.x86_64 libidn2-2.3.8-3.fc44.x86_64 libksba-1.6.7-5.fc44.x86_64 liblastlog2-2.41.4-7.fc44.x86_64 libmount-2.41.4-7.fc44.x86_64 libnghttp2-1.68.0-3.fc44.x86_64 libnghttp3-1.15.0-1.fc44.x86_64 libpkgconf-2.5.1-1.fc44.x86_64 libpsl-0.21.5-7.fc44.x86_64 libselinux-3.10-1.fc44.x86_64 libselinux-utils-3.10-1.fc44.x86_64 libsemanage-3.10-1.fc44.x86_64 libsepol-3.10-1.fc44.x86_64 libsmartcols-2.41.4-7.fc44.x86_64 libssh-0.12.0-1.fc44.x86_64 libssh-config-0.12.0-1.fc44.noarch libstdc++-16.0.1-0.10.fc44.x86_64 libtasn1-4.21.0-1.fc44.x86_64 libtool-ltdl-2.5.4-10.fc44.x86_64 libunistring-1.1-11.fc44.x86_64 libusb1-1.0.29-5.fc44.x86_64 libuuid-2.41.4-7.fc44.x86_64 libverto-0.3.2-12.fc44.x86_64 libxcrypt-4.5.2-3.fc44.x86_64 libxml2-2.12.10-6.fc44.x86_64 libzstd-1.5.7-5.fc44.x86_64 linkdupes-0.7.3-2.fc44.x86_64 lua-libs-5.4.8-5.fc44.x86_64 lua-srpm-macros-1-17.fc44.noarch lz4-libs-1.10.0-4.fc44.x86_64 mpfr-4.2.2-3.fc44.x86_64 ncurses-base-6.6-1.fc44.noarch ncurses-libs-6.6-1.fc44.x86_64 nettle-3.10.1-3.fc44.x86_64 ngtcp2-1.21.0-1.fc44.x86_64 ngtcp2-crypto-ossl-1.21.0-1.fc44.x86_64 npth-1.8-4.fc44.x86_64 ocaml-srpm-macros-11-3.fc44.noarch openblas-srpm-macros-2-21.fc44.noarch openldap-2.6.13-1.fc44.x86_64 openssl-libs-3.5.5-2.fc44.x86_64 p11-kit-0.26.2-1.fc44.x86_64 p11-kit-trust-0.26.2-1.fc44.x86_64 package-notes-srpm-macros-0.5-16.fc44.noarch pam-libs-1.7.2-1.fc44.x86_64 patch-2.8-4.fc44.x86_64 pcre2-10.47-1.fc44.1.x86_64 pcre2-syntax-10.47-1.fc44.1.noarch perl-srpm-macros-1-61.fc44.noarch pkgconf-2.5.1-1.fc44.x86_64 pkgconf-m4-2.5.1-1.fc44.noarch pkgconf-pkg-config-2.5.1-1.fc44.x86_64 policycoreutils-3.10-1.fc44.x86_64 popt-1.19-10.fc44.x86_64 publicsuffix-list-dafsa-20260116-1.fc44.noarch pyproject-srpm-macros-1.19.0-1.fc44.noarch python-srpm-macros-3.14-12.fc44.noarch qt5-srpm-macros-5.15.18-2.fc44.noarch qt6-srpm-macros-6.10.3-1.fc44.noarch readline-8.3-4.fc44.x86_64 redhat-rpm-config-343-19.fc44.noarch rpm-6.0.1-2.fc44.x86_64 rpm-build-6.0.1-2.fc44.x86_64 rpm-build-libs-6.0.1-2.fc44.x86_64 rpm-libs-6.0.1-2.fc44.x86_64 rpm-plugin-selinux-6.0.1-2.fc44.x86_64 rpm-sequoia-1.10.1-1.fc44.x86_64 rpm-sign-libs-6.0.1-2.fc44.x86_64 rust-srpm-macros-28.4-3.fc44.noarch sed-4.9-7.fc44.x86_64 selinux-policy-43.6-1.fc44.noarch selinux-policy-targeted-43.6-1.fc44.noarch setup-2.15.0-28.fc44.noarch shadow-utils-4.19.0-6.fc44.x86_64 sqlite-libs-3.51.2-1.fc44.x86_64 systemd-libs-259.5-1.fc44.x86_64 systemd-standalone-sysusers-259.5-1.fc44.x86_64 tar-1.35-8.fc44.x86_64 tpm2-tss-4.1.3-9.fc44.x86_64 tree-sitter-srpm-macros-0.4.2-2.fc44.noarch unzip-6.0-69.fc44.x86_64 util-linux-2.41.4-7.fc44.x86_64 util-linux-core-2.41.4-7.fc44.x86_64 which-2.23-4.fc44.x86_64 xxhash-libs-0.8.3-4.fc44.x86_64 xz-5.8.2-2.fc44.x86_64 xz-libs-5.8.2-2.fc44.x86_64 zig-srpm-macros-1-8.fc44.noarch zip-3.0-45.fc44.x86_64 zlib-ng-compat-2.3.3-3.fc44.x86_64 zstd-1.5.7-5.fc44.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 warning: %source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from Wrote: /builddir/build/SRPMS/R-CRAN-birdie-0.7.1-1.fc44.copr10380845.src.rpm RPM build warnings: %source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-44-x86_64-1777170250.424449/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-pmmtznxn/R-CRAN-birdie/R-CRAN-birdie.spec) Config(child) 0 minutes 15 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/R-CRAN-birdie-0.7.1-1.fc44.copr10380845.src.rpm) Config(fedora-44-x86_64) Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-44-x86_64-1777170250.424449/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management from host and used with --installroot: rpm-6.0.1-1.fc43.x86_64 rpm-sequoia-1.10.0-1.fc43.x86_64 python3-dnf-4.24.0-1.fc43.noarch python3-dnf-plugins-core-4.10.1-6.fc43.noarch dnf5-5.2.18.0-3.fc43.x86_64 dnf5-plugins-5.2.18.0-3.fc43.x86_64 Finish: chroot init Start: build phase for R-CRAN-birdie-0.7.1-1.fc44.copr10380845.src.rpm Start: build setup for R-CRAN-birdie-0.7.1-1.fc44.copr10380845.src.rpm Building target platforms: x86_64 Building for target x86_64 warning: %source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from Wrote: /builddir/build/SRPMS/R-CRAN-birdie-0.7.1-1.fc44.copr10380845.src.rpm RPM build warnings: %source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from Updating and loading repositories: Copr repository 100% | 77.0 KiB/s | 1.5 KiB | 00m00s fedora 100% | 43.0 KiB/s | 25.1 KiB | 00m01s updates 100% | 79.9 KiB/s | 24.3 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: R-CRAN-BH noarch 1.90.0.1-1.fc44.copr10364426 copr_base 122.1 MiB R-CRAN-Rcpp x86_64 1.1.1.1.1-1.fc44.copr10364787 copr_base 4.4 MiB R-CRAN-RcppEigen x86_64 0.3.4.0.2-1.fc44.copr10368361 copr_base 9.0 MiB R-CRAN-RcppParallel x86_64 5.1.11.2-1.fc44.copr10364581 copr_base 1.6 MiB R-CRAN-RcppThread x86_64 2.3.0-1.fc44.copr10366269 copr_base 454.5 KiB R-CRAN-SQUAREM noarch 2026.1-1.fc44.copr10364555 copr_base 244.1 KiB R-CRAN-StanHeaders x86_64 2.32.10-1.fc44.copr10370869 copr_base 13.7 MiB R-CRAN-cli x86_64 3.6.6-1.fc44.copr10364456 copr_base 2.4 MiB R-CRAN-dplyr x86_64 1.2.1-1.fc44.copr10377207 copr_base 2.8 MiB R-CRAN-generics noarch 0.1.4-1.fc44.copr10364498 copr_base 166.4 KiB R-CRAN-rlang x86_64 1.2.0-1.fc44.copr10364420 copr_base 2.6 MiB R-CRAN-stringi x86_64 1.8.7-1.fc44.copr10364444 copr_base 37.3 MiB R-CRAN-stringr noarch 1.6.0-1.fc44.copr10372828 copr_base 708.8 KiB R-CRAN-vctrs x86_64 0.7.3-1.fc44.copr10370879 copr_base 3.0 MiB R-core x86_64 4.6.0-1.fc44~bootstrap copr_base 104.4 MiB R-devel x86_64 4.6.0-1.fc44~bootstrap copr_base 0.0 B Installing dependencies: R-CRAN-R6 noarch 2.6.1-1.fc44.copr10364433 copr_base 125.9 KiB R-CRAN-glue x86_64 1.8.1-1.fc44.copr10364415 copr_base 354.7 KiB R-CRAN-lifecycle noarch 1.0.5-1.fc44.copr10368990 copr_base 293.0 KiB R-CRAN-magrittr x86_64 2.0.5-1.fc44.copr10364431 copr_base 409.5 KiB R-CRAN-pillar noarch 1.11.1-1.fc44.copr10372836 copr_base 1.4 MiB R-CRAN-pkgconfig noarch 2.0.3-3.fc44.copr10364432 copr_base 31.1 KiB R-CRAN-tibble x86_64 3.3.1-1.fc44.copr10374530 copr_base 1.6 MiB R-CRAN-tidyselect noarch 1.2.1-1.fc44.copr10372832 copr_base 438.2 KiB R-CRAN-utf8 x86_64 1.2.6-1.fc44.copr10364448 copr_base 488.4 KiB R-CRAN-withr noarch 3.0.2-1.fc44.copr10364424 copr_base 401.3 KiB R-core-devel x86_64 4.6.0-1.fc44~bootstrap copr_base 410.5 KiB R-java x86_64 4.6.0-1.fc44~bootstrap copr_base 0.0 B R-java-devel x86_64 4.6.0-1.fc44~bootstrap copr_base 0.0 B R-littler x86_64 0.3.22-1.fc44 updates 167.0 KiB R-rpm-macros noarch 1.3.7-1.fc44 updates 8.9 KiB abattis-cantarell-vf-fonts noarch 0.301-17.fc44 fedora 192.7 KiB alsa-lib x86_64 1.2.15.3-3.fc44 fedora 1.5 MiB annobin-docs noarch 13.08-1.fc44 fedora 99.3 KiB annobin-plugin-gcc x86_64 13.08-1.fc44 fedora 697.3 KiB avahi-libs x86_64 0.9~rc2-8.fc44 fedora 179.2 KiB bzip2-devel x86_64 1.0.8-23.fc44 fedora 309.8 KiB cairo x86_64 1.18.4-6.fc44 fedora 1.8 MiB cmake-filesystem x86_64 4.3.0-1.fc44 fedora 0.0 B cpp x86_64 16.0.1-0.10.fc44 fedora 42.1 MiB cups-filesystem noarch 1:2.4.17-1.fc44 updates 0.0 B cups-libs x86_64 1:2.4.17-1.fc44 updates 634.6 KiB dbus-libs x86_64 1:1.16.2-1.fc44 fedora 357.4 KiB default-fonts-core-sans noarch 4.3-1.fc44 fedora 11.9 KiB desktop-file-utils x86_64 0.28-5.fc44 fedora 218.0 KiB emacs-filesystem x86_64 1:30.2-2.fc44 fedora 0.0 B flexiblas x86_64 3.5.0-2.fc44 fedora 38.0 KiB flexiblas-devel x86_64 3.5.0-2.fc44 fedora 5.9 MiB flexiblas-netlib x86_64 3.5.0-2.fc44 fedora 16.3 MiB flexiblas-netlib64 x86_64 3.5.0-2.fc44 fedora 16.5 MiB flexiblas-openblas-openmp x86_64 3.5.0-2.fc44 fedora 39.1 KiB flexiblas-openblas-openmp64 x86_64 3.5.0-2.fc44 fedora 39.1 KiB fontconfig x86_64 2.17.0-4.fc44 fedora 776.4 KiB fonts-filesystem noarch 1:5.0.0-2.fc44 fedora 0.0 B freetype x86_64 2.14.3-1.fc44 updates 918.3 KiB fribidi x86_64 1.0.16-4.fc44 fedora 190.0 KiB gcc x86_64 16.0.1-0.10.fc44 fedora 120.6 MiB gcc-c++ x86_64 16.0.1-0.10.fc44 fedora 46.3 MiB gcc-gfortran x86_64 16.0.1-0.10.fc44 fedora 44.8 MiB gcc-plugin-annobin x86_64 16.0.1-0.10.fc44 fedora 57.2 KiB glib2 x86_64 2.88.0-1.fc44 fedora 15.3 MiB glibc-devel x86_64 2.43-3.fc44 updates 2.3 MiB google-noto-fonts-common noarch 20251201-2.fc44 fedora 17.7 KiB google-noto-sans-vf-fonts noarch 20251201-2.fc44 fedora 1.4 MiB graphite2 x86_64 1.3.14-20.fc44 fedora 191.5 KiB harfbuzz x86_64 14.1.0-2.fc44 updates 2.8 MiB hwloc-libs x86_64 2.12.0-3.fc44 fedora 2.9 MiB java-25-openjdk x86_64 1:25.0.2.0.10-5.fc44 updates 960.2 KiB java-25-openjdk-crypto-adapter x86_64 1:25.0.2.0.10-5.fc44 updates 506.2 KiB java-25-openjdk-devel x86_64 1:25.0.2.0.10-5.fc44 updates 11.6 MiB java-25-openjdk-headless x86_64 1:25.0.2.0.10-5.fc44 updates 236.5 MiB javapackages-filesystem noarch 6.4.1-10.fc44 fedora 2.0 KiB jbigkit-libs x86_64 2.1-33.fc44 fedora 117.2 KiB kernel-headers x86_64 6.19.6-300.fc44 fedora 6.9 MiB less x86_64 691-2.fc44 fedora 464.5 KiB libICE x86_64 1.1.2-4.fc44 fedora 198.3 KiB libRmath x86_64 4.6.0-1.fc44~bootstrap copr_base 246.5 KiB libRmath-devel x86_64 4.6.0-1.fc44~bootstrap copr_base 20.2 KiB libSM x86_64 1.2.5-4.fc44 fedora 100.9 KiB libX11 x86_64 1.8.13-1.fc44 fedora 1.3 MiB libX11-common noarch 1.8.13-1.fc44 fedora 1.1 MiB libX11-devel x86_64 1.8.13-1.fc44 fedora 1.0 MiB libX11-xcb x86_64 1.8.13-1.fc44 fedora 10.8 KiB libXau x86_64 1.0.12-4.fc44 fedora 72.8 KiB libXau-devel x86_64 1.0.12-4.fc44 fedora 7.3 KiB libXcomposite x86_64 0.4.6-7.fc44 fedora 40.3 KiB libXext x86_64 1.3.6-5.fc44 fedora 89.8 KiB libXft x86_64 2.3.8-10.fc44 fedora 168.3 KiB libXi x86_64 1.8.2-4.fc44 fedora 80.6 KiB libXmu x86_64 1.2.1-5.fc44 fedora 191.1 KiB libXrender x86_64 0.9.12-4.fc44 fedora 49.9 KiB libXt x86_64 1.3.1-4.fc44 fedora 437.6 KiB libXtst x86_64 1.2.5-4.fc44 fedora 33.4 KiB libatomic x86_64 16.0.1-0.10.fc44 fedora 45.5 KiB libdatrie x86_64 0.2.14-2.fc44 fedora 61.7 KiB libdeflate x86_64 1.25-3.fc44 fedora 119.0 KiB libdeflate-devel x86_64 1.25-3.fc44 fedora 26.0 KiB libfontenc x86_64 1.1.8-5.fc44 fedora 66.8 KiB libgfortran x86_64 16.0.1-0.10.fc44 fedora 3.4 MiB libicu x86_64 77.1-2.fc44 fedora 36.6 MiB libicu-devel x86_64 77.1-2.fc44 fedora 5.0 MiB libjpeg-turbo x86_64 3.1.3-1.fc44 fedora 818.2 KiB liblerc x86_64 4.0.0-10.fc44 fedora 647.9 KiB libmpc x86_64 1.4.1-1.fc44 updates 168.7 KiB libpng x86_64 2:1.6.56-1.fc44 updates 249.6 KiB libquadmath x86_64 16.0.1-0.10.fc44 fedora 325.9 KiB libquadmath-devel x86_64 16.0.1-0.10.fc44 fedora 22.2 KiB libstdc++-devel x86_64 16.0.1-0.10.fc44 fedora 38.8 MiB libthai x86_64 0.1.30-2.fc44 fedora 800.9 KiB libtiff x86_64 4.7.1-2.fc44 fedora 640.2 KiB libtirpc x86_64 1.3.7-2.fc44 fedora 204.3 KiB libtirpc-devel x86_64 1.3.7-2.fc44 fedora 251.6 KiB libtommath x86_64 1.3.1~rc1-7.fc44 fedora 130.2 KiB libwebp x86_64 1.6.0-3.fc44 fedora 968.0 KiB libxcb x86_64 1.17.0-7.fc44 fedora 1.1 MiB libxcb-devel x86_64 1.17.0-7.fc44 fedora 2.6 MiB libxcrypt-devel x86_64 4.5.2-3.fc44 fedora 31.0 KiB libzstd-devel x86_64 1.5.7-5.fc44 fedora 217.6 KiB lksctp-tools x86_64 1.0.21-3.fc44 fedora 250.0 KiB lzo x86_64 2.10-16.fc44 fedora 174.8 KiB make x86_64 1:4.4.1-12.fc44 fedora 1.8 MiB mkfontscale x86_64 1.2.3-4.fc44 fedora 44.9 KiB nspr x86_64 4.38.2-9.fc44 fedora 327.1 KiB nss x86_64 3.122.1-1.fc44 fedora 2.0 MiB nss-softokn x86_64 3.122.1-1.fc44 fedora 2.0 MiB nss-softokn-freebl x86_64 3.122.1-1.fc44 fedora 998.7 KiB nss-sysinit x86_64 3.122.1-1.fc44 fedora 17.9 KiB nss-util x86_64 3.122.1-1.fc44 fedora 212.7 KiB openblas x86_64 0.3.29-2.fc43 fedora 111.7 KiB openblas-openmp x86_64 0.3.29-2.fc43 fedora 43.7 MiB openblas-openmp64 x86_64 0.3.29-2.fc43 fedora 43.8 MiB pango x86_64 1.57.1-1.fc44 fedora 1.0 MiB pcre2-devel x86_64 10.47-1.fc44.1 fedora 2.1 MiB pcre2-utf16 x86_64 10.47-1.fc44.1 fedora 655.2 KiB pcre2-utf32 x86_64 10.47-1.fc44.1 fedora 623.1 KiB pixman x86_64 0.46.2-3.fc44 fedora 718.2 KiB tbb x86_64 2022.3.0-3.fc44 fedora 441.3 KiB tbb-bind x86_64 2022.3.0-3.fc44 fedora 19.6 KiB tbb-devel x86_64 2022.3.0-3.fc44 fedora 1.4 MiB tcl x86_64 1:9.0.2-1.fc44 fedora 4.3 MiB tk x86_64 1:9.0.2-1.fc44 fedora 3.8 MiB tre x86_64 0.9.0-3.fc44 fedora 75.6 KiB tre-common noarch 0.9.0-3.fc44 fedora 75.8 KiB tre-devel x86_64 0.9.0-3.fc44 fedora 13.2 KiB ttmkfdir x86_64 3.0.9-74.fc44 fedora 142.2 KiB tzdata noarch 2026a-1.fc44 fedora 1.2 MiB tzdata-java noarch 2026a-1.fc44 fedora 100.4 KiB xdg-utils noarch 1.2.1-5.fc44 fedora 346.3 KiB xml-common noarch 0.6.3-68.fc44 fedora 78.4 KiB xorg-x11-fonts-Type1 noarch 7.5-42.fc44 fedora 863.3 KiB xorg-x11-proto-devel noarch 2025.1-2.fc44 fedora 1.8 MiB xz-devel x86_64 1:5.8.2-2.fc44 fedora 258.8 KiB zlib-ng-compat-devel x86_64 2.3.3-3.fc44 fedora 107.0 KiB Transaction Summary: Installing: 153 packages Total size of inbound packages is 327 MiB. Need to download 29 MiB. After this operation, 1 GiB extra will be used (install 1 GiB, remove 0 B). [ 1/153] R-CRAN-Rcpp-0:1.1.1.1.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/153] R-CRAN-cli-0:3.6.6-1.fc44.cop 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/153] R-CRAN-generics-0:0.1.4-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/153] R-CRAN-rlang-0:1.2.0-1.fc44.c 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/153] R-CRAN-dplyr-0:1.2.1-1.fc44.c 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/153] R-CRAN-vctrs-0:0.7.3-1.fc44.c 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/153] R-devel-0:4.6.0-1.fc44~bootst 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/153] R-core-0:4.6.0-1.fc44~bootstr 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/153] flexiblas-netlib-0:3.5.0-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/153] R-CRAN-R6-0:2.6.1-1.fc44.copr 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/153] R-CRAN-glue-0:1.8.1-1.fc44.co 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/153] R-CRAN-lifecycle-0:1.0.5-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/153] R-CRAN-magrittr-0:2.0.5-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/153] R-core-devel-0:4.6.0-1.fc44~b 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/153] R-java-devel-0:4.6.0-1.fc44~b 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/153] libRmath-0:4.6.0-1.fc44~boots 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/153] cairo-0:1.18.4-6.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/153] glib2-0:2.88.0-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/153] less-0:691-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/153] libX11-0:1.8.13-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/153] libXmu-0:1.2.1-5.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/153] libXt-0:1.3.1-4.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/153] libdeflate-0:1.25-3.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/153] libicu-0:77.1-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/153] libjpeg-turbo-0:3.1.3-1.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/153] libtiff-0:4.7.1-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/153] libtirpc-0:1.3.7-2.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/153] pango-0:1.57.1-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/153] tcl-1:9.0.2-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/153] tk-1:9.0.2-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/153] tre-0:0.9.0-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/153] tzdata-0:2026a-1.fc44.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/153] xdg-utils-0:1.2.1-5.fc44.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/153] flexiblas-0:3.5.0-2.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/153] flexiblas-openblas-openmp-0:3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/153] libgfortran-0:16.0.1-0.10.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/153] libquadmath-0:16.0.1-0.10.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/153] libRmath-devel-0:4.6.0-1.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/153] make-1:4.4.1-12.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/153] R-java-0:4.6.0-1.fc44~bootstr 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/153] fontconfig-0:2.17.0-4.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/153] libXext-0:1.3.6-5.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/153] libXrender-0:0.9.12-4.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/153] libxcb-0:1.17.0-7.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/153] lzo-0:2.10-16.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/153] pixman-0:0.46.2-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/153] libX11-common-0:1.8.13-1.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/153] libICE-0:1.1.2-4.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/153] libSM-0:1.2.5-4.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/153] jbigkit-libs-0:2.1-33.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/153] liblerc-0:4.0.0-10.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/153] libwebp-0:1.6.0-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/153] fribidi-0:1.0.16-4.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/153] libXft-0:2.3.8-10.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/153] libthai-0:0.1.30-2.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/153] libtommath-0:1.3.1~rc1-7.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/153] tre-common-0:0.9.0-3.fc44.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/153] desktop-file-utils-0:0.28-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/153] openblas-openmp-0:0.3.29-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/153] default-fonts-core-sans-0:4.3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/153] fonts-filesystem-1:5.0.0-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/153] xml-common-0:0.6.3-68.fc44.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/153] libXau-0:1.0.12-4.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/153] libdatrie-0:0.2.14-2.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/153] emacs-filesystem-1:30.2-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/153] abattis-cantarell-vf-fonts-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/153] google-noto-sans-vf-fonts-0:2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/153] google-noto-fonts-common-0:20 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/153] freetype-0:2.14.3-1.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/153] harfbuzz-0:14.1.0-2.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/153] graphite2-0:1.3.14-20.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/153] openblas-0:0.3.29-2.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/153] libpng-2:1.6.56-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/153] java-25-openjdk-devel-1:25.0. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/153] java-25-openjdk-1:25.0.2.0.10 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/153] libXcomposite-0:0.4.6-7.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/153] libXi-0:1.8.2-4.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/153] libXtst-0:1.2.5-4.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/153] xorg-x11-fonts-Type1-0:7.5-42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/153] java-25-openjdk-headless-1:25 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/153] mkfontscale-0:1.2.3-4.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/153] ttmkfdir-0:3.0.9-74.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/153] alsa-lib-0:1.2.15.3-3.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/153] javapackages-filesystem-0:6.4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/153] lksctp-tools-0:1.0.21-3.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/153] tzdata-java-0:2026a-1.fc44.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/153] java-25-openjdk-crypto-adapte 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/153] libfontenc-0:1.1.8-5.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/153] nss-0:3.122.1-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/153] nss-softokn-0:3.122.1-1.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/153] nspr-0:4.38.2-9.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/153] nss-sysinit-0:3.122.1-1.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/153] nss-util-0:3.122.1-1.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/153] nss-softokn-freebl-0:3.122.1- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/153] R-rpm-macros-0:1.3.7-1.fc44.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/153] bzip2-devel-0:1.0.8-23.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/153] flexiblas-devel-0:3.5.0-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/153] flexiblas-netlib64-0:3.5.0-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/153] flexiblas-openblas-openmp64-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/153] openblas-openmp64-0:0.3.29-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/153] gcc-c++-0:16.0.1-0.10.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/153] gcc-0:16.0.1-0.10.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/153] cpp-0:16.0.1-0.10.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/153] gcc-gfortran-0:16.0.1-0.10.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/153] libX11-devel-0:1.8.13-1.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/153] libX11-xcb-0:1.8.13-1.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/153] xorg-x11-proto-devel-0:2025.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/153] libdeflate-devel-0:1.25-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/153] cmake-filesystem-0:4.3.0-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/153] libicu-devel-0:77.1-2.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/153] libtirpc-devel-0:1.3.7-2.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/153] libzstd-devel-0:1.5.7-5.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/153] pcre2-devel-0:10.47-1.fc44.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/153] pcre2-utf16-0:10.47-1.fc44.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/153] pcre2-utf32-0:10.47-1.fc44.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/153] tre-devel-0:0.9.0-3.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/153] xz-devel-1:5.8.2-2.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/153] zlib-ng-compat-devel-0:2.3.3- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/153] R-CRAN-pillar-0:1.11.1-1.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/153] R-CRAN-utf8-0:1.2.6-1.fc44.co 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/153] R-CRAN-tibble-0:3.3.1-1.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/153] R-CRAN-pkgconfig-0:2.0.3-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/153] R-CRAN-tidyselect-0:1.2.1-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/153] R-CRAN-withr-0:3.0.2-1.fc44.c 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/153] R-littler-0:0.3.22-1.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/153] cups-libs-1:2.4.17-1.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/153] avahi-libs-0:0.9~rc2-8.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/153] cups-filesystem-1:2.4.17-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/153] dbus-libs-1:1.16.2-1.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/153] libxcb-devel-0:1.17.0-7.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/153] libmpc-0:1.4.1-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/153] libquadmath-devel-0:16.0.1-0. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/153] libstdc++-devel-0:16.0.1-0.10 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/153] glibc-devel-0:2.43-3.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/153] libxcrypt-devel-0:4.5.2-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/153] libatomic-0:16.0.1-0.10.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/153] kernel-headers-0:6.19.6-300.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/153] libXau-devel-0:1.0.12-4.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/153] annobin-plugin-gcc-0:13.08-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/153] gcc-plugin-annobin-0:16.0.1-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/153] annobin-docs-0:13.08-1.fc44.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/153] R-CRAN-RcppEigen-0:0.3.4.0.2- 100% | 90.0 MiB/s | 1.4 MiB | 00m00s [143/153] R-CRAN-RcppParallel-0:5.1.11. 100% | 17.0 MiB/s | 347.3 KiB | 00m00s [144/153] R-CRAN-RcppThread-0:2.3.0-1.f 100% | 34.0 MiB/s | 348.0 KiB | 00m00s [145/153] R-CRAN-SQUAREM-0:2026.1-1.fc4 100% | 23.0 MiB/s | 188.0 KiB | 00m00s [146/153] R-CRAN-BH-0:1.90.0.1-1.fc44.c 100% | 161.3 MiB/s | 10.0 MiB | 00m00s [147/153] R-CRAN-stringr-0:1.6.0-1.fc44 100% | 56.3 MiB/s | 345.8 KiB | 00m00s [148/153] R-CRAN-stringi-0:1.8.7-1.fc44 100% | 183.9 MiB/s | 11.4 MiB | 00m00s [149/153] R-CRAN-StanHeaders-0:2.32.10- 100% | 33.8 MiB/s | 2.2 MiB | 00m00s [150/153] tbb-0:2022.3.0-3.fc44.x86_64 100% | 6.9 MiB/s | 168.4 KiB | 00m00s [151/153] tbb-devel-0:2022.3.0-3.fc44.x 100% | 40.7 MiB/s | 250.3 KiB | 00m00s [152/153] tbb-bind-0:2022.3.0-3.fc44.x8 100% | 4.7 MiB/s | 19.2 KiB | 00m00s [153/153] hwloc-libs-0:2.12.0-3.fc44.x8 100% | 96.2 MiB/s | 2.1 MiB | 00m00s -------------------------------------------------------------------------------- [153/153] Total 100% | 77.1 MiB/s | 28.8 MiB | 00m00s Running transaction [ 1/155] Verify package files 100% | 97.0 B/s | 153.0 B | 00m02s >>> Running %pretrans scriptlet: java-25-openjdk-headless-1:25.0.2.0.10-5.fc44.x >>> Finished %pretrans scriptlet: java-25-openjdk-headless-1:25.0.2.0.10-5.fc44. >>> [RPM] /var/lib/mock/fedora-44-x86_64-1777170250.424449/root/var/cache/dnf/co [ 2/155] Prepare transaction 100% | 845.0 B/s | 153.0 B | 00m00s [ 3/155] Installing libgfortran-0:16.0 100% | 378.9 MiB/s | 3.4 MiB | 00m00s [ 4/155] Installing nspr-0:4.38.2-9.fc 100% | 160.5 MiB/s | 328.7 KiB | 00m00s [ 5/155] Installing libquadmath-0:16.0 100% | 319.5 MiB/s | 327.2 KiB | 00m00s [ 6/155] Installing nss-util-0:3.122.1 100% | 208.7 MiB/s | 213.7 KiB | 00m00s [ 7/155] Installing libmpc-0:1.4.1-1.f 100% | 166.4 MiB/s | 170.4 KiB | 00m00s [ 8/155] Installing cmake-filesystem-0 100% | 4.6 MiB/s | 9.4 KiB | 00m00s [ 9/155] Installing glib2-0:2.88.0-1.f 100% | 312.0 MiB/s | 15.3 MiB | 00m00s [ 10/155] Installing libpng-2:1.6.56-1. 100% | 245.0 MiB/s | 250.9 KiB | 00m00s [ 11/155] Installing fonts-filesystem-1 100% | 0.0 B/s | 788.0 B | 00m00s [ 12/155] Installing tbb-0:2022.3.0-3.f 100% | 216.9 MiB/s | 444.3 KiB | 00m00s [ 13/155] Installing xorg-x11-proto-dev 100% | 299.3 MiB/s | 1.8 MiB | 00m00s [ 14/155] Installing openblas-0:0.3.29- 100% | 110.8 MiB/s | 113.5 KiB | 00m00s [ 15/155] Installing libXau-0:1.0.12-4. 100% | 72.6 MiB/s | 74.3 KiB | 00m00s [ 16/155] Installing libxcb-0:1.17.0-7. 100% | 269.4 MiB/s | 1.1 MiB | 00m00s [ 17/155] Installing libICE-0:1.1.2-4.f 100% | 195.0 MiB/s | 199.7 KiB | 00m00s [ 18/155] Installing make-1:4.4.1-12.fc 100% | 120.0 MiB/s | 1.8 MiB | 00m00s [ 19/155] Installing libtirpc-0:1.3.7-2 100% | 201.5 MiB/s | 206.4 KiB | 00m00s [ 20/155] Installing libjpeg-turbo-0:3. 100% | 400.3 MiB/s | 819.9 KiB | 00m00s [ 21/155] Installing libicu-0:77.1-2.fc 100% | 452.1 MiB/s | 36.6 MiB | 00m00s [ 22/155] Installing libdeflate-0:1.25- 100% | 117.6 MiB/s | 120.4 KiB | 00m00s [ 23/155] Installing libRmath-0:4.6.0-1 100% | 241.7 MiB/s | 247.5 KiB | 00m00s [ 24/155] Installing libRmath-devel-0:4 100% | 0.0 B/s | 20.6 KiB | 00m00s [ 25/155] Installing libdeflate-devel-0 100% | 26.6 MiB/s | 27.3 KiB | 00m00s [ 26/155] Installing libicu-devel-0:77. 100% | 221.0 MiB/s | 5.1 MiB | 00m00s [ 27/155] Installing libtirpc-devel-0:1 100% | 128.5 MiB/s | 263.1 KiB | 00m00s [ 28/155] Installing libSM-0:1.2.5-4.fc 100% | 99.9 MiB/s | 102.2 KiB | 00m00s [ 29/155] Installing libXau-devel-0:1.0 100% | 1.8 MiB/s | 9.1 KiB | 00m00s [ 30/155] Installing libxcb-devel-0:1.1 100% | 94.3 MiB/s | 3.0 MiB | 00m00s [ 31/155] Installing openblas-openmp-0: 100% | 682.6 MiB/s | 43.7 MiB | 00m00s [ 32/155] Installing flexiblas-netlib-0 100% | 371.1 MiB/s | 16.3 MiB | 00m00s [ 33/155] Installing flexiblas-0:3.5.0- 100% | 0.0 B/s | 39.2 KiB | 00m00s [ 34/155] Installing flexiblas-openblas 100% | 0.0 B/s | 39.9 KiB | 00m00s [ 35/155] Installing openblas-openmp64- 100% | 695.7 MiB/s | 43.8 MiB | 00m00s [ 36/155] Installing flexiblas-openblas 100% | 0.0 B/s | 40.0 KiB | 00m00s [ 37/155] Installing flexiblas-netlib64 100% | 376.2 MiB/s | 16.6 MiB | 00m00s [ 38/155] Installing flexiblas-devel-0: 100% | 309.8 MiB/s | 5.9 MiB | 00m00s [ 39/155] Installing abattis-cantarell- 100% | 189.9 MiB/s | 194.4 KiB | 00m00s [ 40/155] Installing libzstd-devel-0:1. 100% | 214.0 MiB/s | 219.1 KiB | 00m00s [ 41/155] Installing zlib-ng-compat-dev 100% | 106.0 MiB/s | 108.6 KiB | 00m00s [ 42/155] Installing cpp-0:16.0.1-0.10. 100% | 397.1 MiB/s | 42.1 MiB | 00m00s [ 43/155] Installing nss-softokn-freebl 100% | 325.8 MiB/s | 1.0 MiB | 00m00s [ 44/155] Installing nss-softokn-0:3.12 100% | 505.6 MiB/s | 2.0 MiB | 00m00s [ 45/155] Installing nss-0:3.122.1-1.fc 100% | 179.5 MiB/s | 2.0 MiB | 00m00s [ 46/155] Installing nss-sysinit-0:3.12 100% | 1.6 MiB/s | 19.1 KiB | 00m00s [ 47/155] Installing java-25-openjdk-cr 100% | 494.7 MiB/s | 506.6 KiB | 00m00s [ 48/155] Installing annobin-docs-0:13. 100% | 49.1 MiB/s | 100.5 KiB | 00m00s [ 49/155] Installing kernel-headers-0:6 100% | 226.7 MiB/s | 7.0 MiB | 00m00s [ 50/155] Installing glibc-devel-0:2.43 100% | 198.7 MiB/s | 2.4 MiB | 00m00s [ 51/155] Installing libxcrypt-devel-0: 100% | 0.0 B/s | 33.3 KiB | 00m00s [ 52/155] Installing libatomic-0:16.0.1 100% | 45.5 MiB/s | 46.6 KiB | 00m00s [ 53/155] Installing gcc-0:16.0.1-0.10. 100% | 443.6 MiB/s | 120.7 MiB | 00m00s [ 54/155] Installing libquadmath-devel- 100% | 23.1 MiB/s | 23.6 KiB | 00m00s [ 55/155] Installing gcc-gfortran-0:16. 100% | 386.0 MiB/s | 44.8 MiB | 00m00s [ 56/155] Installing libstdc++-devel-0: 100% | 526.9 MiB/s | 39.0 MiB | 00m00s [ 57/155] Installing gcc-c++-0:16.0.1-0 100% | 399.6 MiB/s | 46.3 MiB | 00m00s [ 58/155] Installing dbus-libs-1:1.16.2 100% | 350.1 MiB/s | 358.5 KiB | 00m00s [ 59/155] Installing avahi-libs-0:0.9~r 100% | 177.6 MiB/s | 181.8 KiB | 00m00s [ 60/155] Installing cups-filesystem-1: 100% | 0.0 B/s | 1.8 KiB | 00m00s [ 61/155] Installing cups-libs-1:2.4.17 100% | 310.6 MiB/s | 636.2 KiB | 00m00s [ 62/155] Installing hwloc-libs-0:2.12. 100% | 580.4 MiB/s | 2.9 MiB | 00m00s [ 63/155] Installing tbb-bind-0:2022.3. 100% | 20.0 MiB/s | 20.5 KiB | 00m00s [ 64/155] Installing tbb-devel-0:2022.3 100% | 286.6 MiB/s | 1.4 MiB | 00m00s [ 65/155] Installing xz-devel-1:5.8.2-2 100% | 256.4 MiB/s | 262.6 KiB | 00m00s [ 66/155] Installing pcre2-utf32-0:10.4 100% | 304.7 MiB/s | 623.9 KiB | 00m00s [ 67/155] Installing pcre2-utf16-0:10.4 100% | 320.3 MiB/s | 656.1 KiB | 00m00s [ 68/155] Installing pcre2-devel-0:10.4 100% | 124.7 MiB/s | 2.1 MiB | 00m00s [ 69/155] Installing libX11-xcb-0:1.8.1 100% | 0.0 B/s | 11.6 KiB | 00m00s [ 70/155] Installing bzip2-devel-0:1.0. 100% | 303.5 MiB/s | 310.7 KiB | 00m00s [ 71/155] Installing libfontenc-0:1.1.8 100% | 66.6 MiB/s | 68.2 KiB | 00m00s [ 72/155] Installing tzdata-java-0:2026 100% | 0.0 B/s | 100.8 KiB | 00m00s [ 73/155] Installing lksctp-tools-0:1.0 100% | 20.7 MiB/s | 254.4 KiB | 00m00s [ 74/155] Installing javapackages-files 100% | 5.4 MiB/s | 5.5 KiB | 00m00s [ 75/155] Installing alsa-lib-0:1.2.15. 100% | 88.3 MiB/s | 1.5 MiB | 00m00s [ 76/155] Installing java-25-openjdk-he 100% | 488.8 MiB/s | 236.6 MiB | 00m00s [ 77/155] Installing graphite2-0:1.3.14 100% | 15.8 MiB/s | 193.6 KiB | 00m00s [ 78/155] Installing harfbuzz-0:14.1.0- 100% | 351.6 MiB/s | 2.8 MiB | 00m00s [ 79/155] Installing freetype-0:2.14.3- 100% | 299.5 MiB/s | 920.0 KiB | 00m00s [ 80/155] Installing mkfontscale-0:1.2. 100% | 4.1 MiB/s | 46.3 KiB | 00m00s [ 81/155] Installing ttmkfdir-0:3.0.9-7 100% | 11.7 MiB/s | 143.3 KiB | 00m00s [ 82/155] Installing google-noto-fonts- 100% | 0.0 B/s | 18.5 KiB | 00m00s [ 83/155] Installing google-noto-sans-v 100% | 347.8 MiB/s | 1.4 MiB | 00m00s [ 84/155] Installing default-fonts-core 100% | 17.8 MiB/s | 18.2 KiB | 00m00s [ 85/155] Installing emacs-filesystem-1 100% | 0.0 B/s | 812.0 B | 00m00s [ 86/155] Installing desktop-file-utils 100% | 18.0 MiB/s | 221.7 KiB | 00m00s [ 87/155] Installing xdg-utils-0:1.2.1- 100% | 28.4 MiB/s | 349.5 KiB | 00m00s [ 88/155] Installing libdatrie-0:0.2.14 100% | 0.0 B/s | 62.8 KiB | 00m00s [ 89/155] Installing libthai-0:0.1.30-2 100% | 112.0 MiB/s | 802.7 KiB | 00m00s [ 90/155] Installing xml-common-0:0.6.3 100% | 79.2 MiB/s | 81.1 KiB | 00m00s [ 91/155] Installing fontconfig-0:2.17. 100% | 771.8 KiB/s | 795.8 KiB | 00m01s [ 92/155] Installing xorg-x11-fonts-Typ 100% | 25.6 MiB/s | 865.6 KiB | 00m00s [ 93/155] Installing tre-common-0:0.9.0 100% | 76.3 MiB/s | 78.1 KiB | 00m00s [ 94/155] Installing tre-0:0.9.0-3.fc44 100% | 0.0 B/s | 76.5 KiB | 00m00s [ 95/155] Installing tre-devel-0:0.9.0- 100% | 0.0 B/s | 14.1 KiB | 00m00s [ 96/155] Installing libtommath-0:1.3.1 100% | 128.3 MiB/s | 131.4 KiB | 00m00s [ 97/155] Installing tcl-1:9.0.2-1.fc44 100% | 166.8 MiB/s | 4.3 MiB | 00m00s [ 98/155] Installing fribidi-0:1.0.16-4 100% | 15.7 MiB/s | 192.5 KiB | 00m00s [ 99/155] Installing libwebp-0:1.6.0-3. 100% | 316.4 MiB/s | 972.1 KiB | 00m00s [100/155] Installing liblerc-0:4.0.0-10 100% | 317.1 MiB/s | 649.4 KiB | 00m00s [101/155] Installing jbigkit-libs-0:2.1 100% | 116.4 MiB/s | 119.2 KiB | 00m00s [102/155] Installing libtiff-0:4.7.1-2. 100% | 313.7 MiB/s | 642.5 KiB | 00m00s [103/155] Installing libX11-common-0:1. 100% | 169.3 MiB/s | 1.2 MiB | 00m00s [104/155] Installing libX11-0:1.8.13-1. 100% | 337.0 MiB/s | 1.3 MiB | 00m00s [105/155] Installing libXext-0:1.3.6-5. 100% | 88.9 MiB/s | 91.1 KiB | 00m00s [106/155] Installing libXrender-0:0.9.1 100% | 0.0 B/s | 51.2 KiB | 00m00s [107/155] Installing libXft-0:2.3.8-10. 100% | 165.8 MiB/s | 169.8 KiB | 00m00s [108/155] Installing libXi-0:1.8.2-4.fc 100% | 79.7 MiB/s | 81.6 KiB | 00m00s [109/155] Installing libXt-0:1.3.1-4.fc 100% | 214.3 MiB/s | 438.9 KiB | 00m00s [110/155] Installing libXmu-0:1.2.1-5.f 100% | 188.5 MiB/s | 193.0 KiB | 00m00s [111/155] Installing libXtst-0:1.2.5-4. 100% | 5.6 MiB/s | 34.5 KiB | 00m00s [112/155] Installing tk-1:9.0.2-1.fc44. 100% | 147.4 MiB/s | 3.8 MiB | 00m00s [113/155] Installing libXcomposite-0:0. 100% | 0.0 B/s | 41.9 KiB | 00m00s [114/155] Installing java-25-openjdk-1: 100% | 104.3 MiB/s | 961.4 KiB | 00m00s [115/155] Installing java-25-openjdk-de 100% | 275.9 MiB/s | 11.6 MiB | 00m00s [116/155] Installing libX11-devel-0:1.8 100% | 92.1 MiB/s | 1.1 MiB | 00m00s [117/155] Installing pixman-0:0.46.2-3. 100% | 351.2 MiB/s | 719.3 KiB | 00m00s [118/155] Installing lzo-0:2.10-16.fc44 100% | 172.3 MiB/s | 176.4 KiB | 00m00s [119/155] Installing cairo-0:1.18.4-6.f 100% | 365.4 MiB/s | 1.8 MiB | 00m00s [120/155] Installing pango-0:1.57.1-1.f 100% | 56.4 MiB/s | 1.0 MiB | 00m00s [121/155] Installing tzdata-0:2026a-1.f 100% | 54.0 MiB/s | 1.5 MiB | 00m00s [122/155] Installing less-0:691-2.fc44. 100% | 14.3 MiB/s | 468.1 KiB | 00m00s [123/155] Installing R-core-0:4.6.0-1.f 100% | 317.3 MiB/s | 106.6 MiB | 00m00s [124/155] Installing R-CRAN-cli-0:3.6.6 100% | 210.1 MiB/s | 2.5 MiB | 00m00s [125/155] Installing R-CRAN-rlang-0:1.2 100% | 184.8 MiB/s | 2.8 MiB | 00m00s [126/155] Installing R-CRAN-lifecycle-0 100% | 149.9 MiB/s | 307.0 KiB | 00m00s [127/155] Installing R-CRAN-glue-0:1.8. 100% | 119.4 MiB/s | 366.8 KiB | 00m00s [128/155] Installing R-CRAN-vctrs-0:0.7 100% | 182.4 MiB/s | 3.1 MiB | 00m00s [129/155] Installing R-CRAN-magrittr-0: 100% | 139.6 MiB/s | 428.7 KiB | 00m00s [130/155] Installing R-core-devel-0:4.6 100% | 203.7 MiB/s | 417.1 KiB | 00m00s [131/155] Installing R-CRAN-RcppParalle 100% | 271.2 MiB/s | 1.6 MiB | 00m00s [132/155] Installing R-CRAN-generics-0: 100% | 59.9 MiB/s | 183.9 KiB | 00m00s [133/155] Installing R-CRAN-stringi-0:1 100% | 434.3 MiB/s | 37.3 MiB | 00m00s [134/155] Installing R-CRAN-R6-0:2.6.1- 100% | 129.0 MiB/s | 132.0 KiB | 00m00s [135/155] Installing R-java-0:4.6.0-1.f 100% | 0.0 B/s | 124.0 B | 00m00s [136/155] Installing R-java-devel-0:4.6 100% | 0.0 B/s | 124.0 B | 00m00s [137/155] Installing R-rpm-macros-0:1.3 100% | 0.0 B/s | 10.1 KiB | 00m00s [138/155] Installing R-CRAN-utf8-0:1.2. 100% | 242.8 MiB/s | 497.2 KiB | 00m00s [139/155] Installing R-CRAN-pillar-0:1. 100% | 290.4 MiB/s | 1.5 MiB | 00m00s [140/155] Installing R-CRAN-pkgconfig-0 100% | 36.1 MiB/s | 36.9 KiB | 00m00s [141/155] Installing R-CRAN-tibble-0:3. 100% | 273.7 MiB/s | 1.6 MiB | 00m00s [142/155] Installing R-CRAN-withr-0:3.0 100% | 139.1 MiB/s | 427.3 KiB | 00m00s [143/155] Installing R-CRAN-tidyselect- 100% | 221.3 MiB/s | 453.3 KiB | 00m00s [144/155] Installing R-littler-0:0.3.22 100% | 13.1 MiB/s | 173.8 KiB | 00m00s [145/155] Installing R-CRAN-Rcpp-0:1.1. 100% | 205.5 MiB/s | 4.5 MiB | 00m00s [146/155] Installing R-CRAN-RcppEigen-0 100% | 326.5 MiB/s | 9.1 MiB | 00m00s [147/155] Installing R-CRAN-dplyr-0:1.2 100% | 237.1 MiB/s | 2.8 MiB | 00m00s [148/155] Installing R-devel-0:4.6.0-1. 100% | 0.0 B/s | 124.0 B | 00m00s [149/155] Installing R-CRAN-stringr-0:1 100% | 102.8 MiB/s | 736.9 KiB | 00m00s [150/155] Installing R-CRAN-StanHeaders 100% | 196.3 MiB/s | 14.1 MiB | 00m00s [151/155] Installing R-CRAN-BH-0:1.90.0 100% | 322.0 MiB/s | 124.6 MiB | 00m00s [152/155] Installing R-CRAN-RcppThread- 100% | 226.5 MiB/s | 463.9 KiB | 00m00s [153/155] Installing R-CRAN-SQUAREM-0:2 100% | 123.0 MiB/s | 252.0 KiB | 00m00s [154/155] Installing annobin-plugin-gcc 100% | 52.5 MiB/s | 698.9 KiB | 00m00s [155/155] Installing gcc-plugin-annobin 100% | 218.8 KiB/s | 58.6 KiB | 00m00s Warning: skipped OpenPGP checks for 31 packages from repository: copr_base Complete! Building target platforms: x86_64 Building for target x86_64 warning: %source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from Wrote: /builddir/build/SRPMS/R-CRAN-birdie-0.7.1-1.fc44.copr10380845.src.rpm RPM build warnings: %source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from Updating and loading repositories: Copr repository 100% | 7.0 KiB/s | 1.5 KiB | 00m00s fedora 100% | 42.4 KiB/s | 25.1 KiB | 00m01s updates 100% | 77.6 KiB/s | 24.3 KiB | 00m00s Repositories loaded. Package "R-CRAN-BH-1.90.0.1-1.fc44.copr10364426.noarch" is already installed. Package "R-CRAN-Rcpp-1.1.1.1.1-1.fc44.copr10364787.x86_64" is already installed. Package "R-CRAN-RcppEigen-0.3.4.0.2-1.fc44.copr10368361.x86_64" is already installed. Package "R-CRAN-RcppParallel-5.1.11.2-1.fc44.copr10364581.x86_64" is already installed. Package "R-CRAN-RcppThread-2.3.0-1.fc44.copr10366269.x86_64" is already installed. Package "R-CRAN-SQUAREM-2026.1-1.fc44.copr10364555.noarch" is already installed. Package "R-CRAN-StanHeaders-2.32.10-1.fc44.copr10370869.x86_64" is already installed. Package "R-CRAN-cli-3.6.6-1.fc44.copr10364456.x86_64" is already installed. Package "R-CRAN-dplyr-1.2.1-1.fc44.copr10377207.x86_64" is already installed. Package "R-CRAN-generics-0.1.4-1.fc44.copr10364498.noarch" is already installed. Package "R-CRAN-rlang-1.2.0-1.fc44.copr10364420.x86_64" is already installed. Package "R-CRAN-stringi-1.8.7-1.fc44.copr10364444.x86_64" is already installed. Package "R-CRAN-stringr-1.6.0-1.fc44.copr10372828.noarch" is already installed. Package "R-CRAN-vctrs-0.7.3-1.fc44.copr10370879.x86_64" is already installed. Package "R-devel-4.6.0-1.fc44~bootstrap.x86_64" is already installed. Package "R-core-4.6.0-1.fc44~bootstrap.x86_64" is already installed. Nothing to do. Finish: build setup for R-CRAN-birdie-0.7.1-1.fc44.copr10380845.src.rpm Start: rpmbuild R-CRAN-birdie-0.7.1-1.fc44.copr10380845.src.rpm Building target platforms: x86_64 Building for target x86_64 warning: %source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.v6ZHvE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lN07b9 + umask 022 + cd /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build + cd /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build + rm -rf birdie + /usr/bin/mkdir -p birdie + cd birdie + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/birdie_0.7.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -type f -executable -exec grep -Iq . '{}' ';' -exec sed -i -e '$a\' '{}' ';' + '[' -d birdie/src ']' + find birdie/src -type f -exec sed -i s@/usr/bin/strip@/usr/bin/true@g '{}' ';' + '[' -d birdie/src ']' + find birdie/src/Makevars -type f -exec sed -i s@-g0@@g '{}' ';' + find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.chtJLQ + umask 022 + cd /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd birdie + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EBiiw1 + umask 022 + cd /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build + '[' /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build + mkdir /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd birdie + mkdir -p /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build/BUILDROOT/usr/local/lib/R/library + /usr/bin/R CMD INSTALL -l /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build/BUILDROOT/usr/local/lib/R/library birdie * installing *source* package ‘birdie’ ... ** this is package ‘birdie’ version ‘0.7.1’ ** package ‘birdie’ successfully unpacked and MD5 sums checked ** using staged installation ** libs specified C++17 using C++ compiler: ‘g++ (GCC) 16.0.1 20260321 (Red Hat 16.0.1-0)’ using C++17 Error in utils::packageVersion("rstan") : there is no package called ‘rstan’ Calls: cat -> ifelse -> Execution halted g++ -std=gnu++17 -I"/usr/include/R" -DNDEBUG -I"../inst/include" -I"/usr/local/lib/R/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -D_HAS_AUTO_PTR_ETC=0 -I'/usr/local/lib/R/library/Rcpp/include' -I'/usr/local/lib/R/library/cli/include' -I'/usr/local/lib/R/library/BH/include' -I'/usr/local/lib/R/library/RcppEigen/include' -I'/usr/local/lib/R/library/RcppParallel/include' -I'/usr/local/lib/R/library/RcppThread/include' -I'/usr/local/lib/R/library/StanHeaders/include' -I/usr/local/include -I/usr/include/oneapi -DTBB_INTERFACE_NEW -I'/usr/local/lib/R/library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -DTBB_INTERFACE_NEW -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c RcppExports.cpp -o RcppExports.o In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:205, from /usr/local/lib/R/library/RcppEigen/include/Eigen/Dense:1, from /usr/local/lib/R/library/RcppEigen/include/RcppEigenForward.h:28, from /usr/local/lib/R/library/RcppEigen/include/RcppEigen.h:25, from birdie_types.h:8, from RcppExports.cpp:4: /usr/local/lib/R/library/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; | ^ /usr/local/lib/R/library/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; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 { | ^ /usr/local/lib/R/library/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 { | ^ /usr/local/lib/R/library/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& kernel) { | ^ /usr/local/lib/R/library/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& kernel) { | ^ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:174: /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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 /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:165: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from ‘struct Eigen::internal::traits >’ 266 | Alignment = internal::traits::Alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:24:46: required from here 24 | ResAlignment = traits >::Alignment | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:271: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from ‘class Eigen::QuaternionBase >’ 46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType; | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from ‘class Eigen::Quaternion’ 273 | class Quaternion : public QuaternionBase > | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:27:3: required from here 27 | { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from ‘struct Eigen::internal::traits >’ 266 | Alignment = internal::traits::Alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:98:47: required from here 98 | ResAlignment = traits >::Alignment | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from ‘class Eigen::QuaternionBase >’ 46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType; | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from ‘class Eigen::Quaternion’ 273 | class Quaternion : public QuaternionBase > | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:102:3: required from here 102 | { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/SparseCore:37, from /usr/local/lib/R/library/RcppEigen/include/Eigen/Sparse:26, from /usr/local/lib/R/library/RcppEigen/include/RcppEigenForward.h:29: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of ‘class Eigen::SparseMatrixBase >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from ‘class Eigen::SparseCompressedBase >’ 36 | class SparseCompressedBase | ^~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:96:7: required from ‘class Eigen::SparseMatrix’ 96 | class SparseMatrix | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h:61:25: required from here 61 | typedef Triplet T; | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 47 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/Rcpp/include/Rcpp/InputParameter.h:64:11: required from ‘class Rcpp::ConstInputParameter >’ 64 | T obj ; | ^~~ RcppExports.cpp:37:77: required from here 37 | Rcpp::traits::input_parameter< const Eigen::VectorXd >::type lik(likSEXP); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/Rcpp/include/Rcpp/InputParameter.h:64:11: required from ‘class Rcpp::ConstInputParameter >’ 64 | T obj ; | ^~~ RcppExports.cpp:37:77: required from here 37 | Rcpp::traits::input_parameter< const Eigen::VectorXd >::type lik(likSEXP); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/Rcpp/include/Rcpp/InputParameter.h:64:11: required from ‘class Rcpp::ConstInputParameter >’ 64 | T obj ; | ^~~ RcppExports.cpp:38:81: required from here 38 | Rcpp::traits::input_parameter< const Eigen::MatrixXd >::type prior(priorSEXP); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ Error in utils::packageVersion("rstan") : there is no package called ‘rstan’ Calls: cat -> ifelse -> Execution halted g++ -std=gnu++17 -I"/usr/include/R" -DNDEBUG -I"../inst/include" -I"/usr/local/lib/R/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -D_HAS_AUTO_PTR_ETC=0 -I'/usr/local/lib/R/library/Rcpp/include' -I'/usr/local/lib/R/library/cli/include' -I'/usr/local/lib/R/library/BH/include' -I'/usr/local/lib/R/library/RcppEigen/include' -I'/usr/local/lib/R/library/RcppParallel/include' -I'/usr/local/lib/R/library/RcppThread/include' -I'/usr/local/lib/R/library/StanHeaders/include' -I/usr/local/include -I/usr/include/oneapi -DTBB_INTERFACE_NEW -I'/usr/local/lib/R/library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -DTBB_INTERFACE_NEW -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c bayes.cpp -o bayes.o In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:205, from /usr/local/lib/R/library/RcppEigen/include/Eigen/Dense:1, from /usr/local/lib/R/library/RcppEigen/include/RcppEigenForward.h:28, from /usr/local/lib/R/library/RcppEigen/include/RcppEigen.h:25, from birdie_types.h:8, from bayes.h:6, from bayes.cpp:1: /usr/local/lib/R/library/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; | ^ /usr/local/lib/R/library/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; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 { | ^ /usr/local/lib/R/library/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 { | ^ /usr/local/lib/R/library/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& kernel) { | ^ /usr/local/lib/R/library/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& kernel) { | ^ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:174: /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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 /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:165: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from ‘struct Eigen::internal::traits >’ 266 | Alignment = internal::traits::Alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:24:46: required from here 24 | ResAlignment = traits >::Alignment | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:271: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from ‘class Eigen::QuaternionBase >’ 46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType; | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from ‘class Eigen::Quaternion’ 273 | class Quaternion : public QuaternionBase > | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:27:3: required from here 27 | { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from ‘struct Eigen::internal::traits >’ 266 | Alignment = internal::traits::Alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:98:47: required from here 98 | ResAlignment = traits >::Alignment | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from ‘class Eigen::QuaternionBase >’ 46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType; | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from ‘class Eigen::Quaternion’ 273 | class Quaternion : public QuaternionBase > | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:102:3: required from here 102 | { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/SparseCore:37, from /usr/local/lib/R/library/RcppEigen/include/Eigen/Sparse:26, from /usr/local/lib/R/library/RcppEigen/include/RcppEigenForward.h:29: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of ‘class Eigen::SparseMatrixBase >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from ‘class Eigen::SparseCompressedBase >’ 36 | class SparseCompressedBase | ^~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:96:7: required from ‘class Eigen::SparseMatrix’ 96 | class SparseMatrix | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h:61:25: required from here 61 | typedef Triplet T; | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 47 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ bayes.cpp:33:73: required from here 33 | const Eigen::MatrixXd prior, int n_x, int n_y) { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ bayes.cpp:33:73: required from here 33 | const Eigen::MatrixXd prior, int n_x, int n_y) { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ bayes.cpp:33:73: required from here 33 | const Eigen::MatrixXd prior, int n_x, int n_y) { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:45:7: required from ‘class Eigen::Array’ 45 | class Array | ^~~~~ bayes.cpp:37:19: required from here 37 | ArrayXd sums(N); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, -1, 1, true>, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, 1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, 1, true>’ 103 | template class Block | ^~~~~ bayes.cpp:51:16: required from here 51 | out.col(i) = out.col(i).array() / sums; | ~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, -1, 1, true> > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, -1, 1, true> >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ bayes.cpp:51:38: required from here 51 | out.col(i) = out.col(i).array() / sums; | ~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, -1, 1, true> >, const Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, -1, 1, true> >, const Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, -1, 1, true> >, const Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper, -1, 1, true> >, const Eigen::Array, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, -1, 1, true> >, const Eigen::Array >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ bayes.cpp:51:43: required from here 51 | out.col(i) = out.col(i).array() / sums; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:277: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1384:41: required from ‘struct Eigen::internal::evaluator_wrapper_base, -1, 1, true> > >’ 1384 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1464:8: required from ‘struct Eigen::internal::unary_evaluator, -1, 1, true> >, Eigen::internal::IndexBased, double>’ 1464 | struct unary_evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, -1, 1, true> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, 1, true> > >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::ArrayWrapper, -1, 1, true> >, const Eigen::Array >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block, -1, 1, true>; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, -1, 1, true> >, const Eigen::Array >; Functor = Eigen::internal::assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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, -1, 1, true>; Src = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, -1, 1, true> >, const Eigen::Array >; Func = assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Block, -1, 1, true>; Src = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, -1, 1, true> >, const Eigen::Array >; Func = assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from ‘void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Block, -1, 1, true>; Src = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, -1, 1, true> >, const Eigen::Array >]’ 836 | call_assignment(dst, src, internal::assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Assign.h:66:28: required from ‘Derived& Eigen::MatrixBase::operator=(const Eigen::DenseBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, -1, 1, true> >, const Eigen::Array >; Derived = Eigen::Block, -1, 1, true>]’ 66 | internal::call_assignment(derived(), other.derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ bayes.cpp:51:43: required from here 51 | out.col(i) = out.col(i).array() / sums; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ Error in utils::packageVersion("rstan") : there is no package called ‘rstan’ Calls: cat -> ifelse -> Execution halted g++ -std=gnu++17 -I"/usr/include/R" -DNDEBUG -I"../inst/include" -I"/usr/local/lib/R/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -D_HAS_AUTO_PTR_ETC=0 -I'/usr/local/lib/R/library/Rcpp/include' -I'/usr/local/lib/R/library/cli/include' -I'/usr/local/lib/R/library/BH/include' -I'/usr/local/lib/R/library/RcppEigen/include' -I'/usr/local/lib/R/library/RcppParallel/include' -I'/usr/local/lib/R/library/RcppThread/include' -I'/usr/local/lib/R/library/StanHeaders/include' -I/usr/local/include -I/usr/include/oneapi -DTBB_INTERFACE_NEW -I'/usr/local/lib/R/library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -DTBB_INTERFACE_NEW -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c birdie.cpp -o birdie.o In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:205, from /usr/local/lib/R/library/RcppEigen/include/Eigen/Dense:1, from /usr/local/lib/R/library/RcppEigen/include/RcppEigenForward.h:28, from /usr/local/lib/R/library/RcppEigen/include/RcppEigen.h:25, from birdie_types.h:8, from birdie.h:6, from birdie.cpp:2: /usr/local/lib/R/library/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; | ^ /usr/local/lib/R/library/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; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 { | ^ /usr/local/lib/R/library/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 { | ^ /usr/local/lib/R/library/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& kernel) { | ^ /usr/local/lib/R/library/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& kernel) { | ^ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:174: /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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 /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:165: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from ‘struct Eigen::internal::traits >’ 266 | Alignment = internal::traits::Alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:24:46: required from here 24 | ResAlignment = traits >::Alignment | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:271: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from ‘class Eigen::QuaternionBase >’ 46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType; | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from ‘class Eigen::Quaternion’ 273 | class Quaternion : public QuaternionBase > | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:27:3: required from here 27 | { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from ‘struct Eigen::internal::traits >’ 266 | Alignment = internal::traits::Alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:98:47: required from here 98 | ResAlignment = traits >::Alignment | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from ‘class Eigen::QuaternionBase >’ 46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType; | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from ‘class Eigen::Quaternion’ 273 | class Quaternion : public QuaternionBase > | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:102:3: required from here 102 | { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/SparseCore:37, from /usr/local/lib/R/library/RcppEigen/include/Eigen/Sparse:26, from /usr/local/lib/R/library/RcppEigen/include/RcppEigenForward.h:29: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of ‘class Eigen::SparseMatrixBase >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from ‘class Eigen::SparseCompressedBase >’ 36 | class SparseCompressedBase | ^~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:96:7: required from ‘class Eigen::SparseMatrix’ 96 | class SparseMatrix | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h:61:25: required from here 61 | typedef Triplet T; | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 47 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ birdie.cpp:9:77: required from here 9 | const Eigen::MatrixXd p_rxs, const Eigen::MatrixXd prior_yr, int n_x) { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ birdie.cpp:9:77: required from here 9 | const Eigen::MatrixXd p_rxs, const Eigen::MatrixXd prior_yr, int n_x) { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ birdie.cpp:9:77: required from here 9 | const Eigen::MatrixXd p_rxs, const Eigen::MatrixXd prior_yr, int n_x) { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::internal::member_sum, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::internal::member_sum, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::internal::member_sum, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:56:7: required from ‘class Eigen::PartialReduxExpr, Eigen::internal::member_sum, 0>’ 56 | class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr >::type, | ^~~~~~~~~~~~~~~~ birdie.cpp:15:55: required from here 15 | Eigen::VectorXd prior_sum = prior_yr.colwise().sum().array() - n_y; | ~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::internal::member_sum, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::internal::member_sum, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, Eigen::internal::member_sum, 0> > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ birdie.cpp:15:63: required from here 15 | Eigen::VectorXd prior_sum = prior_yr.colwise().sum().array() - n_y; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, const Eigen::Array >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from ‘struct Eigen::internal::traits, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 38 | >::type Scalar; | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ birdie.cpp:15:68: required from here 15 | Eigen::VectorXd prior_sum = prior_yr.colwise().sum().array() - n_y; | ^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ birdie.cpp:15:68: required from here 15 | Eigen::VectorXd prior_sum = prior_yr.colwise().sum().array() - n_y; | ^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, -1, 1, true>, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, 1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, 1, true>’ 103 | template class Block | ^~~~~ birdie.cpp:18:17: required from here 18 | sums.col(i) = prior_sum; | ~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 1, -1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 1, -1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, 1, -1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, 1, -1, false>’ 103 | template class Block | ^~~~~ birdie.cpp:27:40: required from here 27 | sums.col(X[i] - 1) += p_rxs.row(i); | ~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, false>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, false>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, 1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, -1, 1, false>, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, -1, 1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, 1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, 1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from ‘class Eigen::VectorBlock, -1>’ 56 | template class VectorBlock | ^~~~~~~~~~~ birdie.cpp:28:21: required from here 28 | post.segment(est_col(Y[i] - 1, X[i] - 1, n_r, n_y), n_r) += p_rxs.row(i); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, false> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, false> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, -1, 1, false> > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, -1, 1, false> >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ birdie.cpp:34:61: required from here 34 | post.segment(est_col(j, i, n_r, n_y), n_r).array() /= sums.col(i).array(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, -1, 1, true> > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, -1, 1, true> >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ birdie.cpp:34:84: required from here 34 | post.segment(est_col(j, i, n_r, n_y), n_r).array() /= sums.col(i).array(); | ~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ birdie.cpp:58:30: required from here 58 | post = VectorXd::Zero(n_x * n_y * n_r); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ birdie.cpp:59:30: required from here 59 | sums = MatrixXd::Zero(n_r, n_x); | ~~~~~~~~~~~~~~^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, const Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from ‘struct Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > > >’ 38 | >::type Scalar; | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ birdie.cpp:130:46: required from here 130 | post.segment(idx, n_r) += pr_i * wt[i]; | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ birdie.cpp:130:46: required from here 130 | post.segment(idx, n_r) += pr_i * wt[i]; | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:45:7: required from ‘class Eigen::Array’ 45 | class Array | ^~~~~ birdie.cpp:168:24: required from here 168 | int R_i = rcatp(p_ryxs.row(i), u[i]) - 1; | ~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, -1, 1, true>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, -1, 1, true> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:883:17: required from ‘void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Block, -1, 1, true>; Src = Eigen::Block, 1, -1, false>; Func = add_assign_op]’ 883 | ActualDstType actualDst(dst); | ^~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Block, -1, 1, true>; Src = Eigen::Block, 1, -1, false>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:177:18: required from ‘Derived& Eigen::MatrixBase::operator+=(const Eigen::MatrixBase&) [with OtherDerived = Eigen::Block, 1, -1, false>; Derived = Eigen::Block, -1, 1, true>]’ 177 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ birdie.cpp:27:42: required from here 27 | sums.col(X[i] - 1) += p_rxs.row(i); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, false> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, false> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, -1, 1, false>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, -1, 1, false> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:883:17: required from ‘void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Block, -1, 1, false>; Src = Eigen::Block, 1, -1, false>; Func = add_assign_op]’ 883 | ActualDstType actualDst(dst); | ^~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Block, -1, 1, false>; Src = Eigen::Block, 1, -1, false>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:177:18: required from ‘Derived& Eigen::MatrixBase::operator+=(const Eigen::MatrixBase&) [with OtherDerived = Eigen::Block, 1, -1, false>; Derived = Eigen::Block, -1, 1, false>]’ 177 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ birdie.cpp:28:80: required from here 28 | post.segment(est_col(Y[i] - 1, X[i] - 1, n_r, n_y), n_r) += p_rxs.row(i); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:883:17: required from ‘void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Matrix; Src = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Func = assign_op]’ 883 | ActualDstType actualDst(dst); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]’ 423 | : Base(other.derived()) | ^ birdie.cpp:15:66: required from here 15 | Eigen::VectorXd prior_sum = prior_yr.colwise().sum().array() - n_y; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::Matrix; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::Matrix; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::Matrix; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::Matrix; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ birdie.cpp:79:25: required from here 79 | pr_i /= pr_i.sum(); | ~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:883:17: required from ‘void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Array; Src = Eigen::Block, 1, -1, false>; Func = assign_op]’ 883 | ActualDstType actualDst(dst); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Block, 1, -1, false>; Derived = Eigen::Array]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Block, 1, -1, false>; Derived = Eigen::Array]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:288:29: required from ‘Eigen::Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Array(const Eigen::EigenBase&, typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type) [with OtherDerived = Eigen::Block, 1, -1, false>; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1; typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type = Eigen::Array::PrivateType; typename OtherDerived::Scalar = double; typename Eigen::internal::traits >::Scalar = double]’ 288 | : Base(other.derived()) | ^ birdie.cpp:168:35: required from here 168 | int R_i = rcatp(p_ryxs.row(i), u[i]) - 1; | ~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Transpose >; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Functor = Eigen::internal::assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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; Src = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Func = assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]’ 423 | : Base(other.derived()) | ^ birdie.cpp:15:66: required from here 15 | Eigen::VectorXd prior_sum = prior_yr.colwise().sum().array() - n_y; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:277: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 1, -1, false> >’: /usr/local/lib/R/library/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::Transpose, -1, 1, true> >; SrcXprType = Eigen::Block, 1, -1, false>; Functor = add_assign_op]’ 774 | SrcEvaluatorType srcEvaluator(src); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Transpose, -1, 1, true> >; SrcXprType = Eigen::Block, 1, -1, false>; Functor = Eigen::internal::add_assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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, -1, 1, true>; Src = Eigen::Block, 1, -1, false>; Func = add_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Block, -1, 1, true>; Src = Eigen::Block, 1, -1, false>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:177:18: required from ‘Derived& Eigen::MatrixBase::operator+=(const Eigen::MatrixBase&) [with OtherDerived = Eigen::Block, 1, -1, false>; Derived = Eigen::Block, -1, 1, true>]’ 177 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ birdie.cpp:27:42: required from here 27 | sums.col(X[i] - 1) += p_rxs.row(i); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, -1, 1, true> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, -1, 1, true> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:780:20: required from ‘void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Transpose, -1, 1, true> >; SrcXprType = Eigen::Block, 1, -1, false>; Functor = add_assign_op]’ 780 | DstEvaluatorType dstEvaluator(dst); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Transpose, -1, 1, true> >; SrcXprType = Eigen::Block, 1, -1, false>; Functor = Eigen::internal::add_assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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, -1, 1, true>; Src = Eigen::Block, 1, -1, false>; Func = add_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Block, -1, 1, true>; Src = Eigen::Block, 1, -1, false>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:177:18: required from ‘Derived& Eigen::MatrixBase::operator+=(const Eigen::MatrixBase&) [with OtherDerived = Eigen::Block, 1, -1, false>; Derived = Eigen::Block, -1, 1, true>]’ 177 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ birdie.cpp:27:42: required from here 27 | sums.col(X[i] - 1) += p_rxs.row(i); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, 1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, -1, 1, false> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, -1, 1, false> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:780:20: required from ‘void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Transpose, -1, 1, false> >; SrcXprType = Eigen::Block, 1, -1, false>; Functor = add_assign_op]’ 780 | DstEvaluatorType dstEvaluator(dst); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Transpose, -1, 1, false> >; SrcXprType = Eigen::Block, 1, -1, false>; Functor = Eigen::internal::add_assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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, -1, 1, false>; Src = Eigen::Block, 1, -1, false>; Func = add_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Block, -1, 1, false>; Src = Eigen::Block, 1, -1, false>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:177:18: required from ‘Derived& Eigen::MatrixBase::operator+=(const Eigen::MatrixBase&) [with OtherDerived = Eigen::Block, 1, -1, false>; Derived = Eigen::Block, -1, 1, false>]’ 177 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ birdie.cpp:28:80: required from here 28 | post.segment(est_col(Y[i] - 1, X[i] - 1, n_r, n_y), n_r) += p_rxs.row(i); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Transpose >; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Functor = Eigen::internal::assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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; Src = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Func = assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]’ 423 | : Base(other.derived()) | ^ birdie.cpp:15:66: required from here 15 | Eigen::VectorXd prior_sum = prior_yr.colwise().sum().array() - n_y; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, -1, 1, true> >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::Block, -1, 1, true>; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::Block, -1, 1, true>; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:114:1: required from ‘ResultType Eigen::internal::member_sum::operator()(const XprType&) const [with XprType = Eigen::Block, -1, 1, true>; ResultType = double; Scalar = double]’ 97 | { return mat.MEMBER(); } \ | ~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:183:21: required from ‘const Eigen::internal::evaluator >::Scalar Eigen::internal::evaluator >::coeff(Eigen::Index) const [with ArgType = const Eigen::Matrix; MemberOp = Eigen::internal::member_sum; int Direction = 0; Scalar = double; Eigen::Index = long int]’ 183 | return m_functor(m_arg.template subVector(index)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1404:27: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1404 | return m_argImpl.coeff(index); | ~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Transpose >; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Functor = Eigen::internal::assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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; Src = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Func = assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]’ 423 | : Base(other.derived()) | ^ birdie.cpp:15:66: required from here 15 | Eigen::VectorXd prior_sum = prior_yr.colwise().sum().array() - n_y; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::Block, -1, 1, true>; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::Block, -1, 1, true>; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, -1, 1, true> >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::Block, -1, 1, true>; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::Block, -1, 1, true>; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:114:1: required from ‘ResultType Eigen::internal::member_sum::operator()(const XprType&) const [with XprType = Eigen::Block, -1, 1, true>; ResultType = double; Scalar = double]’ 97 | { return mat.MEMBER(); } \ | ~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:183:21: required from ‘const Eigen::internal::evaluator >::Scalar Eigen::internal::evaluator >::coeff(Eigen::Index) const [with ArgType = const Eigen::Matrix; MemberOp = Eigen::internal::member_sum; int Direction = 0; Scalar = double; Eigen::Index = long int]’ 183 | return m_functor(m_arg.template subVector(index)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1404:27: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1404 | return m_argImpl.coeff(index); | ~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Transpose >; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Functor = Eigen::internal::assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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; Src = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Func = assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, Eigen::internal::member_sum, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]’ 423 | : Base(other.derived()) | ^ birdie.cpp:15:66: required from here 15 | Eigen::VectorXd prior_sum = prior_yr.colwise().sum().array() - n_y; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ Error in utils::packageVersion("rstan") : there is no package called ‘rstan’ Calls: cat -> ifelse -> Execution halted g++ -std=gnu++17 -I"/usr/include/R" -DNDEBUG -I"../inst/include" -I"/usr/local/lib/R/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -D_HAS_AUTO_PTR_ETC=0 -I'/usr/local/lib/R/library/Rcpp/include' -I'/usr/local/lib/R/library/cli/include' -I'/usr/local/lib/R/library/BH/include' -I'/usr/local/lib/R/library/RcppEigen/include' -I'/usr/local/lib/R/library/RcppParallel/include' -I'/usr/local/lib/R/library/RcppThread/include' -I'/usr/local/lib/R/library/StanHeaders/include' -I/usr/local/include -I/usr/include/oneapi -DTBB_INTERFACE_NEW -I'/usr/local/lib/R/library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -DTBB_INTERFACE_NEW -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c gibbs.cpp -o gibbs.o In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:205, from /usr/local/lib/R/library/RcppEigen/include/Eigen/Dense:1, from /usr/local/lib/R/library/RcppEigen/include/RcppEigenForward.h:28, from /usr/local/lib/R/library/RcppEigen/include/RcppEigen.h:25, from birdie_types.h:8, from gibbs.h:4, from gibbs.cpp:1: /usr/local/lib/R/library/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; | ^ /usr/local/lib/R/library/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; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 { | ^ /usr/local/lib/R/library/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 { | ^ /usr/local/lib/R/library/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& kernel) { | ^ /usr/local/lib/R/library/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& kernel) { | ^ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:174: /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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 /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:165: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from ‘struct Eigen::internal::traits >’ 266 | Alignment = internal::traits::Alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:24:46: required from here 24 | ResAlignment = traits >::Alignment | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:271: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from ‘class Eigen::QuaternionBase >’ 46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType; | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from ‘class Eigen::Quaternion’ 273 | class Quaternion : public QuaternionBase > | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:27:3: required from here 27 | { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from ‘struct Eigen::internal::traits >’ 266 | Alignment = internal::traits::Alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:98:47: required from here 98 | ResAlignment = traits >::Alignment | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from ‘class Eigen::QuaternionBase >’ 46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType; | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from ‘class Eigen::Quaternion’ 273 | class Quaternion : public QuaternionBase > | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:102:3: required from here 102 | { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/SparseCore:37, from /usr/local/lib/R/library/RcppEigen/include/Eigen/Sparse:26, from /usr/local/lib/R/library/RcppEigen/include/RcppEigenForward.h:29: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of ‘class Eigen::SparseMatrixBase >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from ‘class Eigen::SparseCompressedBase >’ 36 | class SparseCompressedBase | ^~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:96:7: required from ‘class Eigen::SparseMatrix’ 96 | class SparseMatrix | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h:61:25: required from here 61 | typedef Triplet T; | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 47 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ gibbs.cpp:9:37: required from here 9 | int cores=0, int verbosity=3) { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ gibbs.cpp:9:37: required from here 9 | int cores=0, int verbosity=3) { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ gibbs.cpp:14:34: required from here 14 | MatrixXd out = MatrixXd::Zero(N, n_r); | ~~~~~~~~~~~~~~^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:45:7: required from ‘class Eigen::Array’ 45 | class Array | ^~~~~ gibbs.cpp:18:13: required from here 18 | ArrayXd p_r = ArrayXd::Constant(n_r, 1.0 / n_r); | ^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Array >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ gibbs.cpp:18:36: required from here 18 | ArrayXd p_r = ArrayXd::Constant(n_r, 1.0 / n_r); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ gibbs.cpp:19:14: required from here 19 | VectorXd u = as(runif(N)); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix, const Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix, const Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix, const Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::Matrix, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ gibbs.cpp:24:29: required from here 24 | MatrixXd m_sr = (M_sr + beta_sr).transpose(); | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix, const Eigen::Matrix > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix, const Eigen::Matrix > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix, const Eigen::Matrix > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, const Eigen::Matrix, const Eigen::Matrix > >’ 52 | template class Transpose | ^~~~~~~~~ gibbs.cpp:24:47: required from here 24 | MatrixXd m_sr = (M_sr + beta_sr).transpose(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::internal::member_sum, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::internal::member_sum, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::internal::member_sum, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:56:7: required from ‘class Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>’ 56 | class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr >::type, | ^~~~~~~~~~~~~~~~ gibbs.cpp:25:37: required from here 25 | ArrayXd m_r = m_sr.rowwise().sum(); | ~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, -1, 1, true>, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, 1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, 1, true>’ 103 | template class Block | ^~~~~ gibbs.cpp:45:39: required from here 45 | ArrayXd m_i = m_sr.col(S[i] - 1); | ~~~~~~~~^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Array, const Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Array, const Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::Array, const Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Array, const Eigen::Array, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ gibbs.cpp:51:39: required from here 51 | ArrayXd probs = n_i * m_i / m_r; | ^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array >, const Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array >, const Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array >, const Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array >, const Eigen::Array, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array >, const Eigen::Array >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ gibbs.cpp:51:45: required from here 51 | ArrayXd probs = n_i * m_i / m_r; | ^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:277: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, 1, true> >’: /usr/local/lib/R/library/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::Array; SrcXprType = Eigen::Block, -1, 1, true>; Functor = assign_op]’ 774 | SrcEvaluatorType srcEvaluator(src); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Array; SrcXprType = Eigen::Block, -1, 1, true>; Functor = Eigen::internal::assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Array; Src = Eigen::Block, -1, 1, true>; Func = assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Block, -1, 1, true>; Derived = Eigen::Array]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Block, -1, 1, true>; Derived = Eigen::Array]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:288:29: required from ‘Eigen::Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Array(const Eigen::EigenBase&, typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type) [with OtherDerived = Eigen::Block, -1, 1, true>; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1; typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type = Eigen::Array::PrivateType; typename OtherDerived::Scalar = double; typename Eigen::internal::traits >::Scalar = double]’ 288 | : Base(other.derived()) | ^ gibbs.cpp:45:39: required from here 45 | ArrayXd m_i = m_sr.col(S[i] - 1); | ~~~~~~~~^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 2, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 2, -1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 2, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 2, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 2, -1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 2, -1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Array; SrcXprType = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; Functor = Eigen::internal::assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Array; Src = Eigen::PartialReduxExpr, member_sum, 1>; Func = assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; Derived = Eigen::Array]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; Derived = Eigen::Array]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:288:29: required from ‘Eigen::Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Array(const Eigen::EigenBase&, typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type) [with OtherDerived = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1; typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type = Eigen::Array::PrivateType; typename OtherDerived::Scalar = double; typename Eigen::internal::traits >::Scalar = double]’ 288 | : Base(other.derived()) | ^ gibbs.cpp:25:37: required from here 25 | ArrayXd m_r = m_sr.rowwise().sum(); | ~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 2, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, 2, -1, true> >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:217:20: required from ‘PacketType Eigen::internal::evaluator >::packet(Eigen::Index) const [with int LoadMode = 0; PacketType = __vector(2) double; ArgType = Eigen::Matrix; MemberOp = Eigen::internal::member_sum; int Direction = 1; Eigen::Index = long int]’ 217 | PanelEvaluator panel_eval(panel); | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:681:114: required from ‘void Eigen::internal::generic_dense_assignment_kernel::assignPacket(Eigen::Index) [with int StoreMode = 16; int LoadMode = 0; PacketType = __vector(2) double; DstEvaluatorTypeT = Eigen::internal::evaluator >; SrcEvaluatorTypeT = Eigen::internal::evaluator, Eigen::internal::member_sum, 1> >; Functor = Eigen::internal::assign_op; int Version = 0; Eigen::Index = long int]’ 681 | m_functor.template assignPacket(&m_dst.coeffRef(index), m_src.template packet(index)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:437:75: required from ‘static void Eigen::internal::dense_assignment_loop::run(Kernel&) [with Kernel = Eigen::internal::generic_dense_assignment_kernel >, Eigen::internal::evaluator, Eigen::internal::member_sum, 1> >, Eigen::internal::assign_op, 0>]’ 437 | kernel.template assignPacket(index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:785:37: required from ‘void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Array; SrcXprType = Eigen::PartialReduxExpr, member_sum, 1>; Functor = assign_op]’ 785 | dense_assignment_loop::run(kernel); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Array; SrcXprType = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; Functor = Eigen::internal::assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Array; Src = Eigen::PartialReduxExpr, member_sum, 1>; Func = assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; Derived = Eigen::Array]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; Derived = Eigen::Array]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:288:29: required from ‘Eigen::Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Array(const Eigen::EigenBase&, typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type) [with OtherDerived = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1; typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type = Eigen::Array::PrivateType; typename OtherDerived::Scalar = double; typename Eigen::internal::traits >::Scalar = double]’ 288 | : Base(other.derived()) | ^ gibbs.cpp:25:37: required from here 25 | ArrayXd m_r = m_sr.rowwise().sum(); | ~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 1, -1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 1, -1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Array; SrcXprType = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; Functor = Eigen::internal::assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Array; Src = Eigen::PartialReduxExpr, member_sum, 1>; Func = assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; Derived = Eigen::Array]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; Derived = Eigen::Array]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:288:29: required from ‘Eigen::Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Array(const Eigen::EigenBase&, typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type) [with OtherDerived = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1; typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type = Eigen::Array::PrivateType; typename OtherDerived::Scalar = double; typename Eigen::internal::traits >::Scalar = double]’ 288 | : Base(other.derived()) | ^ gibbs.cpp:25:37: required from here 25 | ArrayXd m_r = m_sr.rowwise().sum(); | ~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 1, -1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, 1, -1, false> >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::Block, 1, -1, false>; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::Block, 1, -1, false>; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:114:1: required from ‘ResultType Eigen::internal::member_sum::operator()(const XprType&) const [with XprType = Eigen::Block, 1, -1, false>; ResultType = double; Scalar = double]’ 97 | { return mat.MEMBER(); } \ | ~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:183:21: required from ‘const Eigen::internal::evaluator >::Scalar Eigen::internal::evaluator >::coeff(Eigen::Index) const [with ArgType = Eigen::Matrix; MemberOp = Eigen::internal::member_sum; int Direction = 1; Scalar = double; Eigen::Index = long int]’ 183 | return m_functor(m_arg.template subVector(index)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:214:47: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 214 | return internal::pset1(coeff(idx)); | ~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Array; SrcXprType = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; Functor = Eigen::internal::assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Array; Src = Eigen::PartialReduxExpr, member_sum, 1>; Func = assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; Derived = Eigen::Array]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; Derived = Eigen::Array]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:288:29: required from ‘Eigen::Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Array(const Eigen::EigenBase&, typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type) [with OtherDerived = Eigen::PartialReduxExpr, Eigen::internal::member_sum, 1>; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1; typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type = Eigen::Array::PrivateType; typename OtherDerived::Scalar = double; typename Eigen::internal::traits >::Scalar = double]’ 288 | : Base(other.derived()) | ^ gibbs.cpp:25:37: required from here 25 | ArrayXd m_r = m_sr.rowwise().sum(); | ~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ Error in utils::packageVersion("rstan") : there is no package called ‘rstan’ Calls: cat -> ifelse -> Execution halted g++ -std=gnu++17 -I"/usr/include/R" -DNDEBUG -I"../inst/include" -I"/usr/local/lib/R/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -D_HAS_AUTO_PTR_ETC=0 -I'/usr/local/lib/R/library/Rcpp/include' -I'/usr/local/lib/R/library/cli/include' -I'/usr/local/lib/R/library/BH/include' -I'/usr/local/lib/R/library/RcppEigen/include' -I'/usr/local/lib/R/library/RcppParallel/include' -I'/usr/local/lib/R/library/RcppThread/include' -I'/usr/local/lib/R/library/StanHeaders/include' -I/usr/local/include -I/usr/include/oneapi -DTBB_INTERFACE_NEW -I'/usr/local/lib/R/library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -DTBB_INTERFACE_NEW -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c random.cpp -o random.o In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:205, from /usr/local/lib/R/library/RcppEigen/include/Eigen/Dense:1, from /usr/local/lib/R/library/RcppEigen/include/RcppEigenForward.h:28, from /usr/local/lib/R/library/RcppEigen/include/RcppEigen.h:25, from birdie_types.h:8, from random.h:5, from random.cpp:1: /usr/local/lib/R/library/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; | ^ /usr/local/lib/R/library/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; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 { | ^ /usr/local/lib/R/library/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 { | ^ /usr/local/lib/R/library/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& kernel) { | ^ /usr/local/lib/R/library/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& kernel) { | ^ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:174: /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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 /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:165: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from ‘struct Eigen::internal::traits >’ 266 | Alignment = internal::traits::Alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:24:46: required from here 24 | ResAlignment = traits >::Alignment | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:271: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from ‘class Eigen::QuaternionBase >’ 46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType; | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from ‘class Eigen::Quaternion’ 273 | class Quaternion : public QuaternionBase > | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:27:3: required from here 27 | { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from ‘struct Eigen::internal::traits >’ 266 | Alignment = internal::traits::Alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:98:47: required from here 98 | ResAlignment = traits >::Alignment | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from ‘class Eigen::QuaternionBase >’ 46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType; | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from ‘class Eigen::Quaternion’ 273 | class Quaternion : public QuaternionBase > | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:102:3: required from here 102 | { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/SparseCore:37, from /usr/local/lib/R/library/RcppEigen/include/Eigen/Sparse:26, from /usr/local/lib/R/library/RcppEigen/include/RcppEigenForward.h:29: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of ‘class Eigen::SparseMatrixBase >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from ‘class Eigen::SparseCompressedBase >’ 36 | class SparseCompressedBase | ^~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:96:7: required from ‘class Eigen::SparseMatrix’ 96 | class SparseMatrix | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h:61:25: required from here 61 | typedef Triplet T; | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 47 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:17:8: required from ‘struct Eigen::internal::traits >’ 17 | struct traits > : traits > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:45:7: required from ‘class Eigen::Array’ 45 | class Array | ^~~~~ random.cpp:3:40: required from here 3 | ArrayXi rcat(int n, const ArrayXd probs) { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:45:7: required from ‘class Eigen::Array’ 45 | class Array | ^~~~~ random.cpp:3:40: required from here 3 | ArrayXi rcat(int n, const ArrayXd probs) { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ random.cpp:22:48: required from here 22 | Eigen::VectorXi mat_rcatp(Eigen::MatrixXd probs) { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ random.cpp:24:14: required from here 24 | VectorXd u = as(runif(N)); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 1, -1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, 1, -1, false>, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 1, -1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, 1, -1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, 1, -1, false>’ 103 | template class Block | ^~~~~ random.cpp:28:31: required from here 28 | R[i] = rcatp(probs.row(i), u[i]); | ~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:883:17: required from ‘void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Array; Src = Eigen::Block, 1, -1, false>; Func = assign_op]’ 883 | ActualDstType actualDst(dst); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Block, 1, -1, false>; Derived = Eigen::Array]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Block, 1, -1, false>; Derived = Eigen::Array]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:288:29: required from ‘Eigen::Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Array(const Eigen::EigenBase&, typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type) [with OtherDerived = Eigen::Block, 1, -1, false>; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1; typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type = Eigen::Array::PrivateType; typename OtherDerived::Scalar = double; typename Eigen::internal::traits >::Scalar = double]’ 288 | : Base(other.derived()) | ^ random.cpp:28:31: required from here 28 | R[i] = rcatp(probs.row(i), u[i]); | ~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:277: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 1, -1, false> >’: /usr/local/lib/R/library/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::Transpose >; SrcXprType = Eigen::Block, 1, -1, false>; Functor = assign_op]’ 774 | SrcEvaluatorType srcEvaluator(src); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Transpose >; SrcXprType = Eigen::Block, 1, -1, false>; Functor = Eigen::internal::assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Array; Src = Eigen::Block, 1, -1, false>; Func = assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Block, 1, -1, false>; Derived = Eigen::Array]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Block, 1, -1, false>; Derived = Eigen::Array]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:288:29: required from ‘Eigen::Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Array(const Eigen::EigenBase&, typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type) [with OtherDerived = Eigen::Block, 1, -1, false>; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1; typename Eigen::internal::enable_if >::Scalar>::value, PrivateType>::type = Eigen::Array::PrivateType; typename OtherDerived::Scalar = double; typename Eigen::internal::traits >::Scalar = double]’ 288 | : Base(other.derived()) | ^ random.cpp:28:31: required from here 28 | R[i] = rcatp(probs.row(i), u[i]); | ~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ Error in utils::packageVersion("rstan") : there is no package called ‘rstan’ Calls: cat -> ifelse -> Execution halted g++ -std=gnu++17 -I"/usr/include/R" -DNDEBUG -I"../inst/include" -I"/usr/local/lib/R/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -D_HAS_AUTO_PTR_ETC=0 -I'/usr/local/lib/R/library/Rcpp/include' -I'/usr/local/lib/R/library/cli/include' -I'/usr/local/lib/R/library/BH/include' -I'/usr/local/lib/R/library/RcppEigen/include' -I'/usr/local/lib/R/library/RcppParallel/include' -I'/usr/local/lib/R/library/RcppThread/include' -I'/usr/local/lib/R/library/StanHeaders/include' -I/usr/local/include -I/usr/include/oneapi -DTBB_INTERFACE_NEW -I'/usr/local/lib/R/library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -DTBB_INTERFACE_NEW -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c stanExports_multinom.cc -o stanExports_multinom.o In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:205, from /usr/local/lib/R/library/RcppEigen/include/Eigen/Dense:1, from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22, from ../inst/include/rstan/rstaninc.hpp:4, from stanExports_multinom.h:9, from stanExports_multinom.cc:5: /usr/local/lib/R/library/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; | ^ /usr/local/lib/R/library/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; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 }; }; | ^ /usr/local/lib/R/library/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 { | ^ /usr/local/lib/R/library/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 { | ^ /usr/local/lib/R/library/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& kernel) { | ^ /usr/local/lib/R/library/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& kernel) { | ^ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:174: /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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 { \ | ^ /usr/local/lib/R/library/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 /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:165: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from ‘struct Eigen::internal::traits >’ 266 | Alignment = internal::traits::Alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:24:46: required from here 24 | ResAlignment = traits >::Alignment | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:271: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from ‘class Eigen::QuaternionBase >’ 46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType; | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from ‘class Eigen::Quaternion’ 273 | class Quaternion : public QuaternionBase > | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:27:3: required from here 27 | { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from ‘struct Eigen::internal::traits >’ 266 | Alignment = internal::traits::Alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:98:47: required from here 98 | ResAlignment = traits >::Alignment | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from ‘class Eigen::QuaternionBase >’ 46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType; | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from ‘class Eigen::Quaternion’ 273 | class Quaternion : public QuaternionBase > | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:102:3: required from here 102 | { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from ../inst/include/rstan/stan_fit.hpp:23, from ../inst/include/rstan/rstaninc.hpp:5: ../inst/include/rstan/stan_args.hpp: In constructor ‘rstan::stan_args::stan_args(const Rcpp::List&)’: ../inst/include/rstan/stan_args.hpp:164:11: warning: unused variable ‘calculated_thin’ [-Wunused-variable] 164 | int calculated_thin; | ^~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/SparseCore:37, from /usr/local/lib/R/library/RcppEigen/include/Eigen/Sparse:26, from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of ‘class Eigen::SparseMatrixBase >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from ‘class Eigen::SparseCompressedBase >’ 36 | class SparseCompressedBase | ^~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:96:7: required from ‘class Eigen::SparseMatrix’ 96 | class SparseMatrix | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h:61:25: required from here 61 | typedef Triplet T; | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 47 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:19:52: required from ‘struct Eigen::internal::traits > >’ 19 | template struct traits > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/EigenBase.h:42:59: required from ‘struct Eigen::EigenBase > >’ 42 | typedef typename internal::traits::StorageKind StorageKind; | ^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/SolverBase.h:68:7: required from ‘class Eigen::SolverBase > >’ 68 | class SolverBase : public EigenBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:59:49: required from ‘class Eigen::LDLT >’ 59 | template class LDLT | ^~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:46:15: required from here 46 | if (cholesky.info() != Eigen::Success || !cholesky.isPositive() | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:69:42: required from ‘class Eigen::LDLT >’ 69 | MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime, | ^~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:46:15: required from here 46 | if (cholesky.info() != Eigen::Success || !cholesky.isPositive() | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:287:19: required from ‘class Eigen::LDLT >’ 287 | TmpMatrixType m_temporary; | ^~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:46:15: required from here 46 | if (cholesky.info() != Eigen::Success || !cholesky.isPositive() | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from ‘class Eigen::Diagonal, 0>’ 63 | template class Diagonal | ^~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:47:29: required from here 47 | || (cholesky.vectorD().array() <= 0.0).any()) { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 0> > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, 0> >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:47:41: required from here 47 | || (cholesky.vectorD().array() <= 0.0).any()) { | ^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Array >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from ‘struct Eigen::internal::traits, const Eigen::ArrayWrapper, 0> >, const Eigen::CwiseNullaryOp, Eigen::Array > > >’ 38 | >::type Scalar; | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper, 0> >, const Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, 0> >, const Eigen::CwiseNullaryOp, Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:47:45: required from here 47 | || (cholesky.vectorD().array() <= 0.0).any()) { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, -1, 1, true>, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, 1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, 1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/multiply_lower_tri_self_transpose.hpp:35:26: required from here 35 | LLt(m, m) = Lt.col(m).head(k).squaredNorm(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, true>, -1, 1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, -1, 1, false>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, -1, 1, false>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, true>, -1, 1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1, true>, -1, 1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, 1, true>, -1, 1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, -1, 1, true>, -1, 1, false>, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, -1, 1, true>, -1, 1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, 1, true>, -1, 1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, 1, true>, -1, 1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from ‘class Eigen::VectorBlock, -1, 1, true>, -1>’ 56 | template class VectorBlock | ^~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/multiply_lower_tri_self_transpose.hpp:35:34: required from here 35 | LLt(m, m) = Lt.col(m).head(k).squaredNorm(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/linspaced_array.hpp:37:49: required from here 37 | Eigen::VectorXd v = Eigen::VectorXd::LinSpaced(K, low, high); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/linspaced_row_vector.hpp:32:28: required from here 32 | return Eigen::RowVectorXd::LinSpaced(K, low, high); | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/linspaced_row_vector.hpp:32:39: required from here 32 | return Eigen::RowVectorXd::LinSpaced(K, low, high); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:45:7: required from ‘class Eigen::Array’ 45 | class Array | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:53: required from here 58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2)); | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Array >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:72: required from here 58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2)); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:77: required from here 58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2)); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from ‘class Eigen::Diagonal, 0>’ 63 | template class Diagonal | ^~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:71:17: required from here 71 | A.diagonal().array() -= mu; | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 0> > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, 0> >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:71:29: required from here 71 | A.diagonal().array() -= mu; | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Matrix, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Matrix, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Matrix, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, Eigen::Matrix, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, Eigen::Matrix, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, Eigen::Matrix, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:86:43: required from here 86 | bi = (t / (s * (j + 1))) * (A * bi); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, const Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from ‘struct Eigen::internal::traits, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Product, Eigen::Matrix, 0> > >’ 38 | >::type Scalar; | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Product, Eigen::Matrix, 0>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Product, Eigen::Matrix, 0> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:86:43: required from here 86 | bi = (t / (s * (j + 1))) * (A * bi); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Product, Eigen::Matrix, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Product, Eigen::Matrix, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Product, Eigen::Matrix, 0> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Product, Eigen::Matrix, 0>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Product, Eigen::Matrix, 0> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:86:43: required from here 86 | bi = (t / (s * (j + 1))) * (A * bi); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::Matrix, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::Matrix >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:22: required from here 106 | return x.cwiseAbs().rowwise().sum().maxCoeff(); | ~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix >, Eigen::internal::member_sum, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix >, Eigen::internal::member_sum, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix >, Eigen::internal::member_sum, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:56:7: required from ‘class Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>’ 56 | class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr >::type, | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:38: required from here 106 | return x.cwiseAbs().rowwise().sum().maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:178:58: required from here 178 | alpha = Eigen::VectorXd::Constant(_p_max - 1, normA); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/ceil.hpp:57:44: required from ‘stan::math::ceil >(const Eigen::Matrix&):: [with auto:244 = Eigen::Matrix]’ 57 | x, [](const auto& v) { return v.array().ceil(); }); | ~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::ceil >(const Eigen::Matrix&)::; T2 = Eigen::Matrix; stan::require_t::type> >* = 0; T = Eigen::Matrix]’ 47 | f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/ceil.hpp:56:46: required from ‘auto stan::math::ceil(const Container&) [with Container = Eigen::Matrix; stan::require_container_st* = 0; stan::require_not_var_matrix_t* = 0]’ 56 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | x, [](const auto& v) { return v.array().ceil(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:197:41: required from here 197 | Eigen::MatrixXd c = stan::math::ceil(mt) * u.asDiagonal(); | ~~~~~~~~~~~~~~~~^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/ceil.hpp:57:51: required from ‘stan::math::ceil >(const Eigen::Matrix&):: [with auto:244 = Eigen::Matrix]’ 57 | x, [](const auto& v) { return v.array().ceil(); }); | ~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::ceil >(const Eigen::Matrix&)::; T2 = Eigen::Matrix; stan::require_t::type> >* = 0; T = Eigen::Matrix]’ 47 | f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/ceil.hpp:56:46: required from ‘auto stan::math::ceil(const Container&) [with Container = Eigen::Matrix; stan::require_container_st* = 0; stan::require_not_var_matrix_t* = 0]’ 56 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | x, [](const auto& v) { return v.array().ceil(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:197:41: required from here 197 | Eigen::MatrixXd c = stan::math::ceil(mt) * u.asDiagonal(); | ~~~~~~~~~~~~~~~~^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::ArrayWrapper > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from ‘class Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > >’ 140 | class MatrixWrapper : public MatrixBase > | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:59: required from ‘stan::math::apply_vector_unary, void>::apply >(const Eigen::Matrix&):: >(const Eigen::Matrix&, const stan::math::ceil >(const Eigen::Matrix&)::&):: [with auto:7 = Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >]’ 46 | return make_holder([](const auto& a) { return a.matrix().derived(); }, | ~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: required by substitution of ‘template()((declval)()...))>* > auto stan::math::make_holder(const F&, Args&& ...) [with F = stan::math::apply_vector_unary, void>::apply >(const Eigen::Matrix&):: >(const Eigen::Matrix&, const stan::math::ceil >(const Eigen::Matrix&)::&)::; Args = {Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >}; stan::require_plain_type_t()((declval)()...))>* = ]’ 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:23: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::ceil >(const Eigen::Matrix&)::; T2 = Eigen::Matrix; stan::require_t::type> >* = 0; T = Eigen::Matrix]’ 46 | return make_holder([](const auto& a) { return a.matrix().derived(); }, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | f(x)); | ~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/ceil.hpp:56:46: required from ‘auto stan::math::ceil(const Container&) [with Container = Eigen::Matrix; stan::require_container_st* = 0; stan::require_not_var_matrix_t* = 0]’ 56 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | x, [](const auto& v) { return v.array().ceil(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:197:41: required from here 197 | Eigen::MatrixXd c = stan::math::ceil(mt) * u.asDiagonal(); | ~~~~~~~~~~~~~~~~^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::internal::member_minCoeff, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::internal::member_minCoeff, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::internal::member_minCoeff, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:56:7: required from ‘class Eigen::PartialReduxExpr, Eigen::internal::member_minCoeff, 0>’ 56 | class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr >::type, | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:38: required from here 203 | int cost = c.colwise().minCoeff().minCoeff(&m); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/one_hot_row_vector.hpp:25:52: required from here 25 | Eigen::RowVectorXd ret = Eigen::RowVectorXd::Zero(K); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:13:64: required from here 13 | : m_(Eigen::VectorXd::Zero(n)), m2_(Eigen::MatrixXd::Zero(n, n)) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix, const Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix, const Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix, const Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::Matrix, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:26:31: required from here 26 | Eigen::VectorXd delta(q - m_); | ^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, const Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from ‘struct Eigen::internal::traits, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > > >’ 38 | >::type Scalar; | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:27:19: required from here 27 | m_ += delta / num_samples_; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:27:19: required from here 27 | m_ += delta / num_samples_; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:28:38: required from here 28 | m2_ += (q - m_) * delta.transpose(); | ~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0, 5>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:28:39: required from here 28 | m2_ += (q - m_) * delta.transpose(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseNullaryOp, const Eigen::Matrix > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:37:40: required from here 37 | covar = m2_ / (num_samples_ - 1.0); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix, const Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix, const Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix, const Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:28:30: required from here 28 | m2_ += delta.cwiseProduct(q - m_); | ~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from ‘class Eigen::Map, 0, Eigen::Stride<0, 0> >’ 94 | template class Map | ^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/coupled_ode_system.hpp:77:63: required from here 77 | Eigen::Map(dz_dt.data(), dz_dt.size()) = f_y_t; | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor.hpp:13, from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim.hpp:15, from /usr/local/lib/R/library/StanHeaders/include/src/stan/io/dump.hpp:7, from ../inst/include/rstan/stan_fit.hpp:44: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp: In function ‘void stan::math::internal::combination(std::vector&, const int&, const int&, const int&)’: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:73:29: warning: comparison of integer expressions of different signedness: ‘std::size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 73 | for (std::size_t i = 0; i < p - 1; i++) { | ~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:79:16: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 79 | } while (k < x); | ~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp: In function ‘void stan::math::internal::combos(const int&, const double&, const int&, std::vector >&)’: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:102:29: warning: comparison of integer expressions of different signedness: ‘std::size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 102 | for (std::size_t i = 1; i != choose_dimk + 1; i++) { | ~~^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:105:31: warning: comparison of integer expressions of different signedness: ‘std::size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 105 | for (std::size_t j = 0; j != k; j++) { | ~~^~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp: In function ‘void stan::math::internal::increment(std::vector&, const int&, const double&, const std::vector&, std::vector&)’: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:126:31: warning: comparison of integer expressions of different signedness: ‘std::size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 126 | for (std::size_t j = 0; j != k; j++) { | ~~^~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:132:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 132 | while ((first_zero < index.size()) && index[first_zero]) { | ~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:135:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 135 | if (first_zero == index.size()) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:143:31: warning: comparison of integer expressions of different signedness: ‘std::size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 143 | for (std::size_t i = 0; i != first_zero + 1; i++) { | ~~^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp: In function ‘void stan::math::internal::signcombos(const int&, const double&, const int&, std::vector >&)’: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:168:29: warning: comparison of integer expressions of different signedness: ‘std::size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 168 | for (std::size_t i = 1; i != choose_dimk + 1; i++) { | ~~^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from ‘class Eigen::Map, 0, Eigen::Stride<0, 0> >’ 94 | template class Map | ^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/ode_store_sensitivities.hpp:40:64: required from here 40 | coupled_state.size()); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/BH/include/boost/mpl/aux_/na_assert.hpp:23, from /usr/local/lib/R/library/BH/include/boost/mpl/arg.hpp:25, from /usr/local/lib/R/library/BH/include/boost/mpl/placeholders.hpp:24, from /usr/local/lib/R/library/BH/include/boost/mpl/apply.hpp:24, from /usr/local/lib/R/library/BH/include/boost/serialization/array_optimization.hpp:18, from /usr/local/lib/R/library/BH/include/boost/serialization/array_wrapper.hpp:21, from /usr/local/lib/R/library/BH/include/boost/serialization/array.hpp:26, from /usr/local/lib/R/library/BH/include/boost/numeric/ublas/storage.hpp:22, from /usr/local/lib/R/library/BH/include/boost/numeric/ublas/vector.hpp:21, from /usr/local/lib/R/library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:23, from /usr/local/lib/R/library/BH/include/boost/numeric/odeint.hpp:25, from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9, from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6, from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor.hpp:16: /usr/local/lib/R/library/BH/include/boost/mpl/assert.hpp: At global scope: /usr/local/lib/R/library/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of ‘assert_arg’ [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ /usr/local/lib/R/library/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - /usr/local/lib/R/library/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of ‘assert_not_arg’ [-Wparentheses] 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ /usr/local/lib/R/library/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - In file included from /usr/local/lib/R/library/BH/include/boost/fusion/functional/invocation/detail/that_ptr.hpp:13, from /usr/local/lib/R/library/BH/include/boost/fusion/functional/invocation/invoke.hpp:52, from /usr/local/lib/R/library/BH/include/boost/fusion/functional/adapter/fused.hpp:17, from /usr/local/lib/R/library/BH/include/boost/fusion/functional/generation/make_fused.hpp:13, from /usr/local/lib/R/library/BH/include/boost/fusion/include/make_fused.hpp:11, from /usr/local/lib/R/library/BH/include/boost/numeric/odeint/util/resize.hpp:30, from /usr/local/lib/R/library/BH/include/boost/numeric/odeint/util/state_wrapper.hpp:26, from /usr/local/lib/R/library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:33: /usr/local/lib/R/library/BH/include/boost/get_pointer.hpp:48:40: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | template T * get_pointer(std::auto_ptr const& p) | ^~~~~~~~ In file included from /usr/include/c++/16/memory:80, from ../inst/include/rstan/stan_fit.hpp:13: /usr/include/c++/16/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:92:39: required from ‘stan::math::log_sum_exp >(const Eigen::Matrix&):: [with auto:304 = Eigen::Matrix]’ 92 | return max + std::log((v_ref.array() - max).exp().sum()); | ~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:93:13: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::reduce(const T&, const F&) [with F = stan::math::log_sum_exp >(const Eigen::Matrix&)::; T = Eigen::Matrix]’ 93 | return f(x); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:83:39: required from ‘auto stan::math::log_sum_exp(const T&) [with T = Eigen::Matrix; stan::require_container_st* = 0]’ 83 | return apply_vector_unary::reduce(x, [&](const auto& v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 84 | if (v.size() == 0) { | ~~~~~~~~~~~~~~~~~~~~ 85 | return NEGATIVE_INFTY; | ~~~~~~~~~~~~~~~~~~~~~~ 86 | } | ~ 87 | const auto& v_ref = to_ref(v); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | const double max = v_ref.maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | if (!std::isfinite(max)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | return max; | ~~~~~~~~~~~ 91 | } | ~ 92 | return max + std::log((v_ref.array() - max).exp().sum()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | }); | ~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/dirichlet_rng.hpp:59:35: required from here 59 | double log_sum_y = log_sum_exp(log_y); | ~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, const Eigen::Array >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from ‘struct Eigen::internal::traits, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 38 | >::type Scalar; | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:92:42: required from ‘stan::math::log_sum_exp >(const Eigen::Matrix&):: [with auto:304 = Eigen::Matrix]’ 92 | return max + std::log((v_ref.array() - max).exp().sum()); | ~~~~~~~~~~~~~~~^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:93:13: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::reduce(const T&, const F&) [with F = stan::math::log_sum_exp >(const Eigen::Matrix&)::; T = Eigen::Matrix]’ 93 | return f(x); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:83:39: required from ‘auto stan::math::log_sum_exp(const T&) [with T = Eigen::Matrix; stan::require_container_st* = 0]’ 83 | return apply_vector_unary::reduce(x, [&](const auto& v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 84 | if (v.size() == 0) { | ~~~~~~~~~~~~~~~~~~~~ 85 | return NEGATIVE_INFTY; | ~~~~~~~~~~~~~~~~~~~~~~ 86 | } | ~ 87 | const auto& v_ref = to_ref(v); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | const double max = v_ref.maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | if (!std::isfinite(max)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | return max; | ~~~~~~~~~~~ 91 | } | ~ 92 | return max + std::log((v_ref.array() - max).exp().sum()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | }); | ~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/dirichlet_rng.hpp:59:35: required from here 59 | double log_sum_y = log_sum_exp(log_y); | ~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:92:42: required from ‘stan::math::log_sum_exp >(const Eigen::Matrix&):: [with auto:304 = Eigen::Matrix]’ 92 | return max + std::log((v_ref.array() - max).exp().sum()); | ~~~~~~~~~~~~~~~^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:93:13: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::reduce(const T&, const F&) [with F = stan::math::log_sum_exp >(const Eigen::Matrix&)::; T = Eigen::Matrix]’ 93 | return f(x); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:83:39: required from ‘auto stan::math::log_sum_exp(const T&) [with T = Eigen::Matrix; stan::require_container_st* = 0]’ 83 | return apply_vector_unary::reduce(x, [&](const auto& v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 84 | if (v.size() == 0) { | ~~~~~~~~~~~~~~~~~~~~ 85 | return NEGATIVE_INFTY; | ~~~~~~~~~~~~~~~~~~~~~~ 86 | } | ~ 87 | const auto& v_ref = to_ref(v); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | const double max = v_ref.maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | if (!std::isfinite(max)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | return max; | ~~~~~~~~~~~ 91 | } | ~ 92 | return max + std::log((v_ref.array() - max).exp().sum()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | }); | ~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/dirichlet_rng.hpp:59:35: required from here 59 | double log_sum_y = log_sum_exp(log_y); | ~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:92:52: required from ‘stan::math::log_sum_exp >(const Eigen::Matrix&):: [with auto:304 = Eigen::Matrix]’ 92 | return max + std::log((v_ref.array() - max).exp().sum()); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:93:13: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::reduce(const T&, const F&) [with F = stan::math::log_sum_exp >(const Eigen::Matrix&)::; T = Eigen::Matrix]’ 93 | return f(x); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:83:39: required from ‘auto stan::math::log_sum_exp(const T&) [with T = Eigen::Matrix; stan::require_container_st* = 0]’ 83 | return apply_vector_unary::reduce(x, [&](const auto& v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 84 | if (v.size() == 0) { | ~~~~~~~~~~~~~~~~~~~~ 85 | return NEGATIVE_INFTY; | ~~~~~~~~~~~~~~~~~~~~~~ 86 | } | ~ 87 | const auto& v_ref = to_ref(v); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | const double max = v_ref.maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | if (!std::isfinite(max)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | return max; | ~~~~~~~~~~~ 91 | } | ~ 92 | return max + std::log((v_ref.array() - max).exp().sum()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | }); | ~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/dirichlet_rng.hpp:59:35: required from here 59 | double log_sum_y = log_sum_exp(log_y); | ~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, 0> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:38:59: required from here 38 | Eigen::VectorXd stddev = S_ldlt.vectorD().array().sqrt().matrix(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 5>, Eigen::Matrix, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 5>, Eigen::Matrix, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 5>, Eigen::Matrix, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 5>, Eigen::Matrix, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 5>, Eigen::Matrix, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 5>, Eigen::Matrix, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:46:75: required from here 46 | = mu + (S_ldlt.transpositionsP().transpose() * (S_ldlt.matrixL() * z)); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase > >, Eigen::Product, 5>, Eigen::Matrix, 0>, 2>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > >, Eigen::Product, 5>, Eigen::Matrix, 0>, 2> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase > >, Eigen::Product, 5>, Eigen::Matrix, 0>, 2> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base > >, Eigen::Product, 5>, Eigen::Matrix, 0>, 2, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl > >, Eigen::Product, 5>, Eigen::Matrix, 0>, 2, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product > >, Eigen::Product, 5>, Eigen::Matrix, 0>, 2>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:46:76: required from here 46 | = mu + (S_ldlt.transpositionsP().transpose() * (S_ldlt.matrixL() * z)); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:135:41: required from here 135 | Eigen::VectorXd(F.transpose() * theta_t), V_ldlt, rng); | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Block, -1, 1, true>, const Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Block, -1, 1, true>, const Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Block, -1, 1, true>, const Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Block, -1, 1, true>, const Eigen::Matrix, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Block, -1, 1, true>, const Eigen::Matrix >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/hmm_hidden_state_prob.hpp:77:52: required from here 77 | alphas.col(n) = alphas.col(n).cwiseProduct(beta); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Block, -1, 1, true>, const Eigen::CwiseNullaryOp, const Eigen::Matrix > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Block, -1, 1, true>, const Eigen::CwiseNullaryOp, const Eigen::Matrix > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Block, -1, 1, true>, const Eigen::CwiseNullaryOp, const Eigen::Matrix > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Block, -1, 1, true>, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Block, -1, 1, true>, const Eigen::CwiseNullaryOp, const Eigen::Matrix > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/hmm_latent_rng.hpp:71:73: required from here 71 | probs_vec = alphas.col(n_transitions) / alphas.col(n_transitions).sum(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_cholesky_rng.hpp:49:68: required from here 49 | return L_S.template triangularView() * B.transpose(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1>, Eigen::Transpose >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1>, Eigen::Transpose >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1>, Eigen::Transpose >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 1>, Eigen::Transpose >, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 1>, Eigen::Transpose >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 1>, Eigen::Transpose >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_cholesky_rng.hpp:49:68: required from here 49 | return L_S.template triangularView() * B.transpose(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::TriangularView >, 2>, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::TriangularView >, 2>, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::TriangularView >, 2>, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, Eigen::TriangularView >, 2>, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, Eigen::TriangularView >, 2>, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, Eigen::TriangularView >, 2>, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:42: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::TriangularView >, 2>, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::TriangularView >, 2>, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::TriangularView >, 2>, 0> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, Eigen::TriangularView >, 2>, 0>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:32: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from ‘class Eigen::SolveImpl >, Eigen::Matrix, Eigen::Dense>’ 86 | class SolveImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from ‘class Eigen::Solve >, Eigen::Matrix >’ 62 | class Solve : public SolveImpl::StorageKind> | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_wishart_rng.hpp:25:32: required from here 25 | S_inv = ldlt_of_S.solve(S_inv); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose >, const Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose >, const Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose >, const Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose >, const Eigen::Matrix, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose >, const Eigen::Matrix >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_wishart_rng.hpp:27:40: required from here 27 | return 0.5 * (asym.transpose() + asym); // ensure symmetry | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, const Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from ‘struct Eigen::internal::traits, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::Transpose >, const Eigen::Matrix > > >’ 38 | >::type Scalar; | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::Transpose >, const Eigen::Matrix >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::Transpose >, const Eigen::Matrix > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_wishart_rng.hpp:27:40: required from here 27 | return 0.5 * (asym.transpose() + asym); // ensure symmetry | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::Transpose >, const Eigen::Matrix > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::Transpose >, const Eigen::Matrix > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::Transpose >, const Eigen::Matrix > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::Transpose >, const Eigen::Matrix >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::Transpose >, const Eigen::Matrix > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_wishart_rng.hpp:27:40: required from here 27 | return 0.5 * (asym.transpose() + asym); // ensure symmetry | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, 0> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:89:47: required from here 89 | = Sigma_ldlt.vectorD().array().inverse().sqrt().matrix(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0> > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0> > >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0> > > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:89:54: required from here 89 | = Sigma_ldlt.vectorD().array().inverse().sqrt().matrix(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 6>, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >, 6>, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >, 6>, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from ‘class Eigen::SolveImpl >, 6>, Eigen::Matrix, Eigen::Dense>’ 86 | class SolveImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from ‘class Eigen::Solve >, 6>, Eigen::Matrix >’ 62 | class Solve : public SolveImpl::StorageKind> | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:109:64: required from here 109 | (Sigma_ldlt.matrixU().solve(X)).transpose())) | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 6>, Eigen::Matrix > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >, 6>, Eigen::Matrix > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >, 6>, Eigen::Matrix > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl >, 6>, Eigen::Matrix >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:108:51: recursively required by substitution of ‘template const Eigen::internal::triangular_solve_retval >, 6>, Other> Eigen::TriangularViewImpl >, 6, Eigen::Dense>::solve(const Eigen::MatrixBase&) const [with int Side = ; Other = ]’ 108 | * (D_ldlt.matrixU().solve( | ~~~~~~~~~~~~~~~~~~~~~~^ 109 | (Sigma_ldlt.matrixU().solve(X)).transpose())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:108:51: required from here /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/ForwardDeclarations.h:32:48: required from ‘struct Eigen::internal::accessors_level >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >’ 32 | enum { has_direct_access = (traits::Flags & DirectAccessBit) ? 1 : 0, | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from ‘class Eigen::SolveImpl >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > >, Eigen::Dense>’ 86 | class SolveImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from ‘class Eigen::Solve >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > >’ 62 | class Solve : public SolveImpl::StorageKind> | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:110:32: required from here 110 | .transpose() | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from ‘class Eigen::SolveImpl >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > >, Eigen::Dense>’ 86 | class SolveImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from ‘class Eigen::Solve >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > >’ 62 | class Solve : public SolveImpl::StorageKind> | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:110:32: required from here 110 | .transpose() | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:110:43: required from here 110 | .transpose() | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase > >, Eigen::Transpose >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >, 2>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > >, Eigen::Transpose >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >, 2> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase > >, Eigen::Transpose >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >, 2> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base > >, Eigen::Transpose >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >, 2, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl > >, Eigen::Transpose >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >, 2, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product > >, Eigen::Transpose >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >, 2>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:111:51: required from here 111 | * D_ldlt.transpositionsP()); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase > >, Eigen::Transpose >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > >, Eigen::Transpose >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase > >, Eigen::Transpose >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base > >, Eigen::Transpose >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl > >, Eigen::Transpose >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product > >, Eigen::Transpose >, 6>, Eigen::Transpose >, 6>, Eigen::Matrix > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:111:52: required from here 111 | * D_ldlt.transpositionsP()); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, void>::apply(const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >&)::, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, void>::apply(const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >&)::, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, void>::apply(const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >&)::, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, void>::apply(const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >&)::, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, void>::apply(const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >&)::, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:62:23: required from ‘static auto stan::math::apply_scalar_unary::type>::value, void>::type>::apply(const T&) [with F = stan::math::lgamma_fun; T = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >]’ 62 | return x.unaryExpr([](auto&& x) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~ 63 | return apply_scalar_unary>::apply(x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 64 | }); | ~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:72:38: required from ‘struct stan::math::apply_scalar_unary, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, void>’ 72 | apply_scalar_unary::apply(std::declval()))>; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/lgamma.hpp:120:50: required from ‘auto stan::math::lgamma(const T&) [with T = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >; stan::require_not_var_matrix_t* = 0; stan::require_not_nonscalar_prim_or_rev_kernel_expression_t* = 0]’ 120 | return apply_scalar_unary::apply(x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/multinomial_logit_lpmf.hpp:39:44: required from here 39 | lp += lgamma(1 + ns_map.sum()) - lgamma(1 + ns_map).sum(); | ~~~~~~^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/dump.hpp: In member function ‘virtual std::vector > stan::io::dump::vals_c(const std::string&) const’: /usr/local/lib/R/library/StanHeaders/include/src/stan/io/dump.hpp:694:52: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 694 | for (comp_iter = 0, real_iter = 0; real_iter < val_r->second.first.size(); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/dump.hpp:707:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 707 | real_iter < val_i->second.first.size(); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1, false>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1, false>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, -1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, -1, -1, false>, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, -1, -1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, -1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, -1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:102:16: required from here 102 | if (C_adj.size() > 0) { | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1, false> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, -1, -1, false>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, -1, -1, false> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:111:28: required from here 111 | = D_adj.adjoint().template triangularView(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1, false>, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1, false>, 0>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1, false>, 0>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1, false>, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1, false>, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from ‘class Eigen::Diagonal, -1, -1, false>, 0>’ 63 | template class Diagonal | ^~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:116:27: required from here 116 | D_adj.diagonal() *= 0.5; | ^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::OuterStride<> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::OuterStride<> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::OuterStride<> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::OuterStride<> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::OuterStride<> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::OuterStride<> >, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, 0, Eigen::OuterStride<> >, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Ref.h:59:34: required from ‘class Eigen::RefBase, 0, Eigen::OuterStride<> > >’ 59 | template class RefBase | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Ref.h:281:76: required from ‘class Eigen::Ref, 0, Eigen::OuterStride<> >’ 281 | template class Ref | ^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Cholesky/LLT.h:76:42: required from ‘class Eigen::LLT, 0, Eigen::OuterStride<> >, 1>’ 76 | MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime | ^~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:142:57: required from here 142 | check_pos_definite("cholesky_decompose", "m", L_factor); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from ‘class Eigen::Map, 0, Eigen::Stride<0, 0> >’ 94 | template class Map | ^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:13:7: required from ‘class stan::math::arena_matrix, void>’ 13 | class arena_matrix> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:144:6: required from here 144 | L_A.template triangularView().setZero(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, 1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, 1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> >, 1, -1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, 0, Eigen::Stride<0, 0> >, 1, -1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cholesky_factor_constrain.hpp:42:17: required from here 42 | y_val.row(m).head(m) = x.val().segment(pos, m); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:50: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 28 | * arena_L_val.transpose(); | ~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:27: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 27 | arena_t res = arena_L_val.template triangularView() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | * arena_L_val.transpose(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:46: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 31 | arena_L.adj() += ((res.adj().transpose() + res.adj()) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:32:23: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 31 | arena_L.adj() += ((res.adj().transpose() + res.adj()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | * arena_L_val.template triangularView()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/gp_exp_quad_cov.hpp:94:38: required from here 94 | adjsigma += (cov_diag.val().array() * cov_diag.adj().array()).sum(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/gp_exp_quad_cov.hpp:94:63: required from here 94 | adjsigma += (cov_diag.val().array() * cov_diag.adj().array()).sum(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/gp_exp_quad_cov.hpp:94:70: required from here 94 | adjsigma += (cov_diag.val().array() * cov_diag.adj().array()).sum(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/gp_exp_quad_cov.hpp:94:70: required from here 94 | adjsigma += (cov_diag.val().array() * cov_diag.adj().array()).sum(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/gp_exp_quad_cov.hpp:94:72: required from here 94 | adjsigma += (cov_diag.val().array() * cov_diag.adj().array()).sum(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of ‘class Eigen::SparseMatrixBase >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from ‘class Eigen::SparseCompressedBase >’ 36 | class SparseCompressedBase | ^~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: recursively required by substitution of ‘template static std::true_type stan::is_base_pointer_convertible >::f(const Eigen::EigenBase*) [with OtherDerived = ]’ 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from ‘struct stan::is_base_pointer_convertible >’ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: required from ‘struct stan::is_eigen >’ 21 | : bool_constant::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/var.hpp:301:19: required by substitution of ‘template class stan::math::var_value::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type> [with T = Eigen::SparseMatrix]’ 301 | (is_eigen::value || is_kernel_expression_and_not_scalar::value) | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/csr_matrix_times_vector.hpp:120:40: required from here 120 | arena_t res = w_mat_arena.val() * value_of(b_arena); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 47 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of ‘class Eigen::SparseMatrixBase, 0, Eigen::Stride<0, 0> > >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from ‘class Eigen::SparseCompressedBase, 0, Eigen::Stride<0, 0> > >’ 36 | class SparseCompressedBase | ^~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMap.h:50:7: required from ‘class Eigen::SparseMapBase, 0, Eigen::Stride<0, 0> >, 0>’ 50 | class SparseMapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMap.h:148:7: required from ‘class Eigen::SparseMapBase, 0, Eigen::Stride<0, 0> >, 1>’ 148 | class SparseMapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMap.h:222:7: required from ‘class Eigen::Map, 0, Eigen::Stride<0, 0> >’ 222 | class Map, Options, StrideType> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:129:7: required from ‘class stan::math::arena_matrix, void>’ 129 | class arena_matrix> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/vari.hpp:814:9: required from ‘class stan::math::vari_value, void>’ 814 | using InnerIterator = typename arena_matrix::InnerIterator; | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/var.hpp:419:57: required from ‘const auto& stan::math::var_value::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type>::val() const [with T = Eigen::SparseMatrix; typename std::enable_if::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type = void; typename stan::value_type::type = double]’ 419 | inline const auto& val() const noexcept { return vi_->val(); } | ~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/csr_matrix_times_vector.hpp:120:44: required from here 120 | arena_t res = w_mat_arena.val() * value_of(b_arena); | ~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 47 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, -1>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from ‘class Eigen::Diagonal, -1>’ 63 | template class Diagonal | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:97:21: required from ‘class Eigen::Tridiagonalization >’ 97 | >::type SubDiagonalReturnType; | ^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:111:62: required from ‘class Eigen::SelfAdjointEigenSolver >’ 111 | typedef typename TridiagonalizationType::SubDiagonalType SubDiagonalType; | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/eigendecompose_sym.hpp:40:46: required from here 40 | arena_t eigenvals = solver.eigenvalues(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1> >::adj_Op, Eigen::Matrix, -1, 1> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1> >::adj_Op, Eigen::Matrix, -1, 1> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1> >::adj_Op, Eigen::Matrix, -1, 1> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1> >::adj_Op, Eigen::Matrix, -1, 1> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1> >::adj_Op, Eigen::Matrix, -1, 1> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from ‘class Eigen::CwiseUnaryViewImpl, -1, 1> >::adj_Op, Eigen::Matrix, -1, 1>, Eigen::Dense>’ 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from ‘class Eigen::CwiseUnaryView, -1, 1> >::adj_Op, Eigen::Matrix, -1, 1> >’ 58 | class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/grad.hpp:27:12: required from here 27 | g = x.adj(); | ~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 0> > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, 0> >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:66:44: required from ‘stan::math::log, 0> >(const Eigen::Diagonal, 0>&):: [with auto:170 = Eigen::Diagonal, 0>]’ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::log, 0> >(const Eigen::Diagonal, 0>&)::; T2 = Eigen::Diagonal, 0>; stan::require_t::type> >* = 0; T = Eigen::Diagonal, 0>]’ 47 | f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:65:46: required from ‘auto stan::math::log(const Container&) [with Container = Eigen::Diagonal, 0>; stan::require_container_st* = 0]’ 65 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/log_determinant_spd.hpp:49:24: required from here 49 | var log_det = sum(log(M_ldlt.vectorD())); | ~~~^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, 0> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:66:50: required from ‘stan::math::log, 0> >(const Eigen::Diagonal, 0>&):: [with auto:170 = Eigen::Diagonal, 0>]’ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::log, 0> >(const Eigen::Diagonal, 0>&)::; T2 = Eigen::Diagonal, 0>; stan::require_t::type> >* = 0; T = Eigen::Diagonal, 0>]’ 47 | f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:65:46: required from ‘auto stan::math::log(const Container&) [with Container = Eigen::Diagonal, 0>; stan::require_container_st* = 0]’ 65 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/log_determinant_spd.hpp:49:24: required from here 49 | var log_det = sum(log(M_ldlt.vectorD())); | ~~~^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::ArrayWrapper, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from ‘class Eigen::MatrixWrapper, const Eigen::ArrayWrapper, 0> > > >’ 140 | class MatrixWrapper : public MatrixBase > | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:59: required from ‘stan::math::apply_vector_unary, 0>, void>::apply, 0> >(const Eigen::Diagonal, 0>&):: >(const Eigen::Diagonal, 0>&, const stan::math::log, 0> >(const Eigen::Diagonal, 0>&)::&):: [with auto:7 = Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0> > >]’ 46 | return make_holder([](const auto& a) { return a.matrix().derived(); }, | ~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: required by substitution of ‘template()((declval)()...))>* > auto stan::math::make_holder(const F&, Args&& ...) [with F = stan::math::apply_vector_unary, 0>, void>::apply, 0> >(const Eigen::Diagonal, 0>&):: >(const Eigen::Diagonal, 0>&, const stan::math::log, 0> >(const Eigen::Diagonal, 0>&)::&)::; Args = {Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0> > >}; stan::require_plain_type_t()((declval)()...))>* = ]’ 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:23: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::log, 0> >(const Eigen::Diagonal, 0>&)::; T2 = Eigen::Diagonal, 0>; stan::require_t::type> >* = 0; T = Eigen::Diagonal, 0>]’ 46 | return make_holder([](const auto& a) { return a.matrix().derived(); }, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | f(x)); | ~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:65:46: required from ‘auto stan::math::log(const Container&) [with Container = Eigen::Diagonal, 0>; stan::require_container_st* = 0]’ 65 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/log_determinant_spd.hpp:49:24: required from here 49 | var log_det = sum(log(M_ldlt.vectorD())); | ~~~^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from ‘class Eigen::Map, 0, Eigen::Stride<0, 0> >’ 94 | template class Map | ^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:13:7: required from ‘class stan::math::arena_matrix, void>’ 13 | class arena_matrix> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/log_determinant_spd.hpp:51:44: required from here 51 | reverse_pass_callback([arena_M, log_det, arena_M_inv_transpose]() mutable { | ^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/log_softmax.hpp:73:47: required from here 73 | vector_d diff = (x_d.array() - x_d.maxCoeff()); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/log_softmax.hpp:81:75: required from here 81 | Eigen::Map(softmax_x_d_array, a_size) = softmax_x_d.array() / sum; | ^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/matrix_power.hpp:50:51: required from here 50 | arena_powers[0] = Eigen::MatrixXd::Identity(N, N); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/matrix_power.hpp:53:59: required from here 53 | arena_powers[i] = arena_powers[1] * arena_powers[i - 1]; | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/matrix_power.hpp:63:54: required from here 63 | adj_M += adj_C * arena_powers[i - 1].transpose(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/matrix_power.hpp:64:35: required from here 64 | adj_C = M_val.transpose() * adj_C; | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/matrix_power.hpp:64:35: required from here 64 | adj_C = M_val.transpose() * adj_C; | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase*, -1, -1> > >::adj_Op, Eigen::Map*, -1, -1> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase*, -1, -1> > >::adj_Op, Eigen::Map*, -1, -1> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase*, -1, -1> > >::adj_Op, Eigen::Map*, -1, -1> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase*, -1, -1> > >::adj_Op, Eigen::Map*, -1, -1> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase*, -1, -1> > >::adj_Op, Eigen::Map*, -1, -1> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from ‘class Eigen::CwiseUnaryViewImpl*, -1, -1> > >::adj_Op, Eigen::Map*, -1, -1> >, Eigen::Dense>’ 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from ‘class Eigen::CwiseUnaryView*, -1, -1> > >::adj_Op, Eigen::Map*, -1, -1> > >’ 58 | class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/mdivide_left_spd.hpp:67:55: required from here 67 | Eigen::Map(variRefB_, M_, N_).adj() += adjB; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::Matrix, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::Matrix >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/mdivide_left_tri.hpp:85:56: required from here 85 | adjA = -adjB * Map(C_, M_, N_).transpose(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, const Eigen::Matrix >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, const Eigen::Matrix >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, const Eigen::Matrix >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/mdivide_left_tri.hpp:85:56: required from here 85 | adjA = -adjB * Map(C_, M_, N_).transpose(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix, const Eigen::Transpose > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix, const Eigen::Transpose > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix, const Eigen::Transpose > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::Transpose >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Transpose > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/quad_form.hpp:25:46: required from here 25 | matrix_d M = 0.5 * (Cd + Cd.transpose()); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> >, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, 0, Eigen::Stride<0, 0> >, -1, 1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:55:11: required from here 55 | L.col(0).tail(pull) = CPCs.val().head(pull); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 0, Eigen::Stride<0, 0> > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from ‘class Eigen::Map, 0, Eigen::Stride<0, 0> >’ 94 | template class Map | ^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:13:7: required from ‘class stan::math::arena_matrix, void>’ 13 | class arena_matrix> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:56:12: required from here 56 | arena_acc.tail(pull) = 1.0 - CPCs.val().head(pull).array().square(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, -1, 1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, -1, 1, false>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, -1, 1, false>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, -1, 1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 0, Eigen::Stride<0, 0> >, -1, 1, false> >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, -1, 1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, -1, 1, false>, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> >, -1, 1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, 0, Eigen::Stride<0, 0> >, -1, 1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from ‘class Eigen::VectorBlock, 0, Eigen::Stride<0, 0> >, -1>’ 56 | template class VectorBlock | ^~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:63:57: required from here 63 | L.col(i).tail(pull) = cpc_seg * arena_acc.tail(pull).sqrt(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, false>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, false>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, -1, 1, false> >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, 1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, -1, 1, false>, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, -1, 1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, 1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, 1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from ‘class Eigen::VectorBlock, -1>’ 56 | template class VectorBlock | ^~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:86:37: required from here 86 | -= 2.0 * acc_adj.tail(pull) * acc_val.tail(pull) * cpc_seg_val; | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Block, -1, 1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Block, -1, 1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Block, -1, 1, false> > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Block, -1, 1, false>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Block, -1, 1, false> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:86:58: required from here 86 | -= 2.0 * acc_adj.tail(pull) * acc_val.tail(pull) * cpc_seg_val; | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 0, Eigen::Stride<0, 0> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:90:33: required from here 90 | += L_res.adj().array().col(i).tail(pull) * acc_val.tail(pull).sqrt(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> > >, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, 0, Eigen::Stride<0, 0> > >, -1, 1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:90:40: required from here 90 | += L_res.adj().array().col(i).tail(pull) * acc_val.tail(pull).sqrt(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false> >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false>, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from ‘class Eigen::VectorBlock, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1>’ 56 | template class VectorBlock | ^~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:90:78: required from here 90 | += L_res.adj().array().col(i).tail(pull) * acc_val.tail(pull).sqrt(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Block, -1, 1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Block, -1, 1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::Block, -1, 1, false> > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::Block, -1, 1, false>, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::Block, -1, 1, false> >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:90:78: required from here 90 | += L_res.adj().array().col(i).tail(pull) * acc_val.tail(pull).sqrt(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/read_cov_matrix.hpp:56:57: required from here 56 | sds.adj() += (prod.adj().cwiseProduct(corr_L.val())).rowwise().sum(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/rows_dot_self.hpp:41:33: required from here 41 | x.adj() += (2 * res.adj()).asDiagonal() * x.val(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 0>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 0>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from ‘class Eigen::Diagonal, 0, Eigen::Stride<0, 0> >, 0>’ 63 | template class Diagonal | ^~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/svd.hpp:56:22: required from here 56 | arena_Fp.diagonal().setZero(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix, const Eigen::Transpose > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix, const Eigen::Transpose > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix, const Eigen::Transpose > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::Transpose >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Transpose > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/svd.hpp:69:66: required from here 69 | * (arena_Fp.array() * (UUadjT - UUadjT.transpose()).array()) | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix, const Eigen::Transpose > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix, const Eigen::Transpose > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::Matrix, const Eigen::Transpose > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Transpose > > >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/svd.hpp:69:73: required from here 69 | * (arena_Fp.array() * (UUadjT - UUadjT.transpose()).array()) | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Transpose > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Transpose > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Transpose > > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Transpose > > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Transpose > > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/svd.hpp:70:21: required from here 70 | .matrix() | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/svd_V.hpp:61:30: required from here 61 | .matrix() | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Transpose > > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Transpose > > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Transpose > > > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from ‘class Eigen::MatrixWrapper, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper, const Eigen::Matrix, const Eigen::Transpose > > > > >’ 140 | class MatrixWrapper : public MatrixBase > | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/svd_V.hpp:61:30: required from here 61 | .matrix() | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DiagonalMatrix.h:278:47: required from ‘struct Eigen::internal::traits, const Eigen::Map, 0, Eigen::Stride<0, 0> > > > >’ 278 | typedef typename DiagonalVectorType::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/EigenBase.h:42:59: required from ‘struct Eigen::EigenBase, const Eigen::Map, 0, Eigen::Stride<0, 0> > > > >’ 42 | typedef typename internal::traits::StorageKind StorageKind; | ^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DiagonalMatrix.h:18:7: required from ‘class Eigen::DiagonalBase, const Eigen::Map, 0, Eigen::Stride<0, 0> > > > >’ 18 | class DiagonalBase : public EigenBase | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DiagonalMatrix.h:293:7: required from ‘class Eigen::DiagonalWrapper, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 293 | class DiagonalWrapper | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/svd_V.hpp:63:53: required from here 63 | + arena_U * arena_D.asDiagonal().inverse() | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from ‘class Eigen::CwiseUnaryViewImpl*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> >, Eigen::Dense>’ 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from ‘class Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >’ 58 | class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:79:41: required from here 79 | vector_d di = 2 * adj_ * (v1_map.val() - v2_map.val()); | ~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:79:57: required from here 79 | vector_d di = 2 * adj_ * (v1_map.val() - v2_map.val()); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:79:58: required from here 79 | vector_d di = 2 * adj_ * (v1_map.val() - v2_map.val()); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase*, -1, 1> > >::adj_Op, Eigen::Map*, -1, 1> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase*, -1, 1> > >::adj_Op, Eigen::Map*, -1, 1> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase*, -1, 1> > >::adj_Op, Eigen::Map*, -1, 1> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase*, -1, 1> > >::adj_Op, Eigen::Map*, -1, 1> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase*, -1, 1> > >::adj_Op, Eigen::Map*, -1, 1> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from ‘class Eigen::CwiseUnaryViewImpl*, -1, 1> > >::adj_Op, Eigen::Map*, -1, 1> >, Eigen::Dense>’ 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from ‘class Eigen::CwiseUnaryView*, -1, 1> > >::adj_Op, Eigen::Map*, -1, 1> > >’ 58 | class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:80:15: required from here 80 | v1_map.adj() += di; | ~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:111:72: required from here 111 | += 2 * adj_ * (v1_map.val() - Eigen::Map(v2_, length_)); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView*, -1, 1> > >::val_Op, Eigen::Map*, -1, 1> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:111:73: required from here 111 | += 2 * adj_ * (v1_map.val() - Eigen::Map(v2_, length_)); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from ‘class Eigen::CwiseUnaryViewImpl, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from ‘class Eigen::CwiseUnaryView, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >’ 58 | class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/variance.hpp:23:36: required from here 23 | vector_d dtrs_vals = dtrs_map.val(); | ~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/variance.hpp:25:54: required from here 25 | vector_d diff = dtrs_vals.array() - dtrs_vals.mean(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/variance.hpp:27:57: required from here 27 | Eigen::Map(partials, size) = 2 * diff.array() / size_m1; | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper > >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/variance.hpp:27:61: required from here 27 | Eigen::Map(partials, size) = 2 * diff.array() / size_m1; | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1> >::val_Op, Eigen::Matrix, -1, 1> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1> >::val_Op, Eigen::Matrix, -1, 1> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1> >::val_Op, Eigen::Matrix, -1, 1> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1> >::val_Op, Eigen::Matrix, -1, 1> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1> >::val_Op, Eigen::Matrix, -1, 1> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from ‘class Eigen::CwiseUnaryViewImpl, -1, 1> >::val_Op, Eigen::Matrix, -1, 1>, Eigen::Dense>’ 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from ‘class Eigen::CwiseUnaryView, -1, 1> >::val_Op, Eigen::Matrix, -1, 1> >’ 58 | class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/functor/jacobian.hpp:26:19: required from here 26 | fx = fx_var.val(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>&>(const Eigen::Matrix, -1, 1>&)::::, const Eigen::Matrix, -1, 1> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>&>(const Eigen::Matrix, -1, 1>&)::::, const Eigen::Matrix, -1, 1> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>&>(const Eigen::Matrix, -1, 1>&)::::, const Eigen::Matrix, -1, 1> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, 1>&>(const Eigen::Matrix, -1, 1>&)::::, const Eigen::Matrix, -1, 1>, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, 1>&>(const Eigen::Matrix, -1, 1>&)::::, const Eigen::Matrix, -1, 1> >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/value_of.hpp:75:27: required from ‘stan::math::value_of, -1, 1>&>(const Eigen::Matrix, -1, 1>&):: [with auto:12 = const Eigen::Matrix, -1, 1>]’ 75 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: required by substitution of ‘template()((declval)()...))>* > auto stan::math::make_holder(const F&, Args&& ...) [with F = stan::math::value_of, -1, 1>&>(const Eigen::Matrix, -1, 1>&)::; Args = {const Eigen::Matrix, -1, 1, 0, -1, 1>&}; stan::require_plain_type_t()((declval)()...))>* = ]’ 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/value_of.hpp:73:21: required from ‘auto stan::math::value_of(EigMat&&) [with EigMat = const Eigen::Matrix, -1, 1>&; stan::require_eigen_dense_base_t* = 0; stan::require_not_st_arithmetic* = 0]’ 73 | return make_holder( | ~~~~~~~~~~~^ 74 | [](auto& a) { | ~~~~~~~~~~~~~ 75 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | }, | ~~ 77 | std::forward(M)); | ~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/functor/algebra_solver_fp.hpp:101:37: required from here 101 | y_dummy(stan::math::value_of(y)), | ~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from ‘class Eigen::CwiseUnaryViewImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from ‘class Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >’ 58 | class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/functor/solve_powell.hpp:369:58: required from here 369 | Eigen::VectorXd eta = -Jf_x_T_lu_ptr->solve(ret.adj().eval()); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from ‘class Eigen::SolveImpl >, Eigen::Matrix, Eigen::Dense>’ 86 | class SolveImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from ‘class Eigen::Solve >, Eigen::Matrix >’ 62 | class Solve : public SolveImpl::StorageKind> | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/functor/solve_powell.hpp:369:65: required from here 369 | Eigen::VectorXd eta = -Jf_x_T_lu_ptr->solve(ret.adj().eval()); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/functor/cvodes_integrator_adjoint.hpp:604:70: required from here 604 | f_y_t_vars.adj() = -Eigen::Map(NV_DATA_S(yB), N_); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix >, const Eigen::CwiseNullaryOp, const Eigen::Matrix > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix >, const Eigen::CwiseNullaryOp, const Eigen::Matrix > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix >, const Eigen::CwiseNullaryOp, const Eigen::Matrix > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix >, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix >, const Eigen::CwiseNullaryOp, const Eigen::Matrix > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:62:54: required from here 62 | hvp = (grad_forward - grad_backward) / (2 * epsilon); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:7, from /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:10, from ../inst/include/rstan/stan_fit.hpp:50: /usr/local/lib/R/library/StanHeaders/include/src/stan/io/random_var_context.hpp: In member function ‘virtual std::vector > stan::io::random_var_context::vals_c(const std::string&) const’: /usr/local/lib/R/library/StanHeaders/include/src/stan/io/random_var_context.hpp:111:52: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 111 | for (comp_iter = 0, real_iter = 0; real_iter < val_r.size(); | ~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:7, from ../inst/include/rstan/stan_fit.hpp:51: /usr/local/lib/R/library/StanHeaders/include/src/stan/io/array_var_context.hpp: In member function ‘virtual std::vector > stan::io::array_var_context::vals_c(const std::string&) const’: /usr/local/lib/R/library/StanHeaders/include/src/stan/io/array_var_context.hpp:304:52: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 304 | for (comp_iter = 0, real_iter = 0; real_iter < val_r->second.first.size(); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/array_var_context.hpp:317:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 317 | real_iter < val_i->second.first.size(); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 1, -1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 1, -1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, 1, -1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, 1, -1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:72:69: required from here 72 | Eigen::Map(&row[0], draws.cols()) = draws.row(i); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 1>’ 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from ‘class Eigen::Map, 0, Eigen::Stride<0, 0> >’ 94 | template class Map | ^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:13:7: required from ‘class stan::math::arena_matrix, void>’ 13 | class arena_matrix> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:145:15: required from here 145 | x_ret_vals.coeffRef(j) = x.val().coeff(row_idx_val, col_idx_vals[j]); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/StanHeaders/include/src/stan/model/model_header.hpp:11, from stanExports_multinom.h:11: /usr/local/lib/R/library/StanHeaders/include/src/stan/model/model_base_crtp.hpp: At global scope: /usr/local/lib/R/library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:154:17: warning: ‘double stan::model::model_base_crtp::log_prob(std::vector&, std::vector&, std::ostream*) const [with M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ was hidden [-Woverloaded-virtual=] 154 | inline double log_prob(std::vector& theta, std::vector& theta_i, | ^~~~~~~~ stanExports_multinom.h:928:3: note: by ‘T_ model_multinom_namespace::model_multinom::log_prob(Eigen::Matrix&, std::ostream*) const’ 928 | log_prob(Eigen::Matrix& params_r, std::ostream* pstream = nullptr) const { | ^~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:96:20: warning: ‘stan::math::var stan::model::model_base_crtp::log_prob(Eigen::Matrix, -1, 1>&, std::ostream*) const [with M = model_multinom_namespace::model_multinom; stan::math::var = stan::math::var_value; std::ostream = std::basic_ostream]’ was hidden [-Woverloaded-virtual=] 96 | inline math::var log_prob(Eigen::Matrix& theta, | ^~~~~~~~ stanExports_multinom.h:928:3: note: by ‘T_ model_multinom_namespace::model_multinom::log_prob(Eigen::Matrix&, std::ostream*) const’ 928 | log_prob(Eigen::Matrix& params_r, std::ostream* pstream = nullptr) const { | ^~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:159:20: warning: ‘stan::math::var stan::model::model_base_crtp::log_prob(std::vector, std::allocator > >&, std::vector&, std::ostream*) const [with M = model_multinom_namespace::model_multinom; stan::math::var = stan::math::var_value; std::ostream = std::basic_ostream]’ was hidden [-Woverloaded-virtual=] 159 | inline math::var log_prob(std::vector& theta, | ^~~~~~~~ stanExports_multinom.h:928:3: note: by ‘T_ model_multinom_namespace::model_multinom::log_prob(Eigen::Matrix&, std::ostream*) const’ 928 | log_prob(Eigen::Matrix& params_r, std::ostream* pstream = nullptr) const { | ^~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:91:17: warning: ‘double stan::model::model_base_crtp::log_prob(Eigen::VectorXd&, std::ostream*) const [with M = model_multinom_namespace::model_multinom; Eigen::VectorXd = Eigen::Matrix; std::ostream = std::basic_ostream]’ was hidden [-Woverloaded-virtual=] 91 | inline double log_prob(Eigen::VectorXd& theta, | ^~~~~~~~ stanExports_multinom.h:928:3: note: by ‘T_ model_multinom_namespace::model_multinom::log_prob(Eigen::Matrix&, std::ostream*) const’ 928 | log_prob(Eigen::Matrix& params_r, std::ostream* pstream = nullptr) const { | ^~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:136:8: warning: ‘void stan::model::model_base_crtp::write_array(boost::random::ecuyer1988&, Eigen::VectorXd&, Eigen::VectorXd&, bool, bool, std::ostream*) const [with M = model_multinom_namespace::model_multinom; boost::random::ecuyer1988 = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Eigen::VectorXd = Eigen::Matrix; std::ostream = std::basic_ostream]’ was hidden [-Woverloaded-virtual=] 136 | void write_array(boost::ecuyer1988& rng, Eigen::VectorXd& theta, | ^~~~~~~~~~~ stanExports_multinom.h:893:3: note: by ‘void model_multinom_namespace::model_multinom::write_array(RNG&, Eigen::Matrix&, Eigen::Matrix&, bool, bool, std::ostream*) const’ 893 | write_array(RNG& base_rng, Eigen::Matrix& params_r, | ^~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:205:8: warning: ‘void stan::model::model_base_crtp::write_array(boost::random::ecuyer1988&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with M = model_multinom_namespace::model_multinom; boost::random::ecuyer1988 = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ was hidden [-Woverloaded-virtual=] 205 | void write_array(boost::ecuyer1988& rng, std::vector& theta, | ^~~~~~~~~~~ stanExports_multinom.h:893:3: note: by ‘void model_multinom_namespace::model_multinom::write_array(RNG&, Eigen::Matrix&, Eigen::Matrix&, bool, bool, std::ostream*) const’ 893 | write_array(RNG& base_rng, Eigen::Matrix& params_r, | ^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from ‘class Eigen::Map, 0, Eigen::Stride<0, 0> >’ 94 | template class Map | ^~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:218:14: required from ‘auto stan::io::deserializer::read(Eigen::Index) [with Ret = Eigen::Matrix; stan::require_eigen_row_vector_t* = 0; stan::require_not_vt_complex* = 0; T = double; Eigen::Index = long int]’ 218 | return map_row_vector_t(nullptr, m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:490:58: required from here 489 | intercept = in__.template read< | ~~~~~~~~~~~~~~~~~~~ 490 | Eigen::Matrix>(n_y); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from ‘class Eigen::Map, 0, Eigen::Stride<0, 0> >’ 94 | template class Map | ^~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:257:14: required from ‘auto stan::io::deserializer::read(Eigen::Index, Eigen::Index) [with Ret = Eigen::Matrix; stan::require_eigen_matrix_dynamic_t* = 0; stan::require_not_vt_complex* = 0; T = double; Eigen::Index = long int]’ 257 | return map_matrix_t(nullptr, rows, cols); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:495:71: required from here 495 | beta = in__.template read>(p, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 496 | n_y); | ~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, int>(const Eigen::Map, 0, Eigen::Stride<0, 0> >&, const int&, stan::return_type_t, 0, Eigen::Stride<0, 0> >, int>&)::, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, int>(const Eigen::Map, 0, Eigen::Stride<0, 0> >&, const int&, stan::return_type_t, 0, Eigen::Stride<0, 0> >, int>&)::, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, int>(const Eigen::Map, 0, Eigen::Stride<0, 0> >&, const int&, stan::return_type_t, 0, Eigen::Stride<0, 0> >, int>&)::, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, 0, Eigen::Stride<0, 0> >, int>(const Eigen::Map, 0, Eigen::Stride<0, 0> >&, const int&, stan::return_type_t, 0, Eigen::Stride<0, 0> >, int>&)::, const Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, 0, Eigen::Stride<0, 0> >, int>(const Eigen::Map, 0, Eigen::Stride<0, 0> >&, const int&, stan::return_type_t, 0, Eigen::Stride<0, 0> >, int>&)::, const Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/lb_constrain.hpp:102:18: required from ‘auto stan::math::lb_constrain(const T&, const L&, stan::return_type_t&) [with T = Eigen::Map, 0, Eigen::Stride<0, 0> >; L = int; stan::require_eigen_t* = 0; stan::require_stan_scalar_t* = 0; stan::require_all_not_st_var* = 0; stan::return_type_t = double]’ 102 | x.unaryExpr([lb, &lp](auto&& xx) { return lb_constrain(xx, lb, lp); })); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:386:38: required from ‘auto stan::io::deserializer::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = Eigen::Matrix; bool Jacobian = false; LB = int; LP = double; Sizes = {int}; T = double]’ 386 | return stan::math::lb_constrain(this->read(sizes...), lb, lp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:508:70: required from here 507 | sigma_grp = in__.template read_constrain_lb< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 508 | Eigen::Matrix, jacobian__>(0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 509 | lp__, n_y); | ~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, const int&>(Eigen::Map, 0, Eigen::Stride<0, 0> >&&, const int&)::, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, const int&>(Eigen::Map, 0, Eigen::Stride<0, 0> >&&, const int&)::, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, const int&>(Eigen::Map, 0, Eigen::Stride<0, 0> >&&, const int&)::, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, 0, Eigen::Stride<0, 0> >, const int&>(Eigen::Map, 0, Eigen::Stride<0, 0> >&&, const int&)::, const Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, 0, Eigen::Stride<0, 0> >, const int&>(Eigen::Map, 0, Eigen::Stride<0, 0> >&&, const int&)::, const Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/lb_constrain.hpp:83:26: required from ‘auto stan::math::lb_constrain(T&&, L&&) [with T = Eigen::Map, 0, Eigen::Stride<0, 0> >; L = const int&; stan::require_eigen_t* = 0; stan::require_stan_scalar_t* = 0; stan::require_all_not_st_var* = 0]’ 83 | return eval(x.unaryExpr([lb](auto&& x) { return lb_constrain(x, lb); })); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:388:38: required from ‘auto stan::io::deserializer::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = Eigen::Matrix; bool Jacobian = false; LB = int; LP = double; Sizes = {int}; T = double]’ 388 | return stan::math::lb_constrain(this->read(sizes...), lb); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:508:70: required from here 507 | sigma_grp = in__.template read_constrain_lb< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 508 | Eigen::Matrix, jacobian__>(0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 509 | lp__, n_y); | ~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, Eigen::Matrix, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >, Eigen::Matrix, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >, Eigen::Matrix, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base >, Eigen::Matrix, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl >, Eigen::Matrix, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product >, Eigen::Matrix, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/diag_pre_multiply.hpp:29:26: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix; T2 = Eigen::Matrix; stan::require_eigen_vector_t* = 0; stan::require_eigen_t* = 0; stan::require_all_not_st_var* = 0]’ 29 | return m1.asDiagonal() * m2; | ~~~~~~~~~~~~~~~~^~~~ stanExports_multinom.h:546:40: required from here 546 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0, 5>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/multiply.hpp:107:13: required from ‘auto stan::math::multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix; stan::require_all_eigen_vt* = 0; stan::require_not_eigen_row_and_col_t* = 0]’ 107 | return m1 * m2; | ~~~^~~~ stanExports_multinom.h:551:49: required from here 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/multiply.hpp:107:13: required from ‘auto stan::math::multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix; stan::require_all_eigen_vt* = 0; stan::require_not_eigen_row_and_col_t* = 0]’ 107 | return m1 * m2; | ~~~^~~~ stanExports_multinom.h:552:35: required from here 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from ‘auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>; Mat2 = Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>; stan::require_all_eigen_t* = 0; stan::require_all_not_st_var* = 0]’ 45 | return m1 + m2; | ~~~^~~~ stanExports_multinom.h:551:28: required from here 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Transpose >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Transpose >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Transpose >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, Eigen::Transpose >, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, Eigen::Transpose >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, Eigen::Transpose >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/multiply.hpp:107:13: required from ‘auto stan::math::multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix; Mat2 = Eigen::Transpose >; stan::require_all_eigen_vt* = 0; stan::require_not_eigen_row_and_col_t* = 0]’ 107 | return m1 * m2; | ~~~^~~~ stanExports_multinom.h:554:35: required from here 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Transpose >, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Transpose >, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Transpose >, 0> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, Eigen::Transpose >, 0>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, Eigen::Transpose >, 0> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/transpose.hpp:18:21: required from ‘auto stan::math::transpose(const T&) [with T = Eigen::Product, Eigen::Transpose >, 0>; stan::require_matrix_t* = 0]’ 18 | return m.transpose(); | ~~~~~~~~~~~^~ stanExports_multinom.h:553:34: required from here 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~^ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from ‘auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >; Mat2 = Eigen::Transpose, Eigen::Transpose >, 0> >; stan::require_all_eigen_t* = 0; stan::require_all_not_st_var* = 0]’ 45 | return m1 + m2; | ~~~^~~~ stanExports_multinom.h:550:26: required from here 550 | stan::math::add( | ~~~~~~~~~~~~~~~^ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/exp.hpp:63:50: required from ‘stan::math::exp >(const Eigen::Matrix&):: [with auto:216 = Eigen::Matrix]’ 63 | x, [](const auto& v) { return v.array().exp(); }); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::exp >(const Eigen::Matrix&)::; T2 = Eigen::Matrix; stan::require_t::type> >* = 0; T = Eigen::Matrix]’ 47 | f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/exp.hpp:62:46: required from ‘auto stan::math::exp(const Container&) [with Container = Eigen::Matrix; stan::require_container_st* = 0]’ 62 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 63 | x, [](const auto& v) { return v.array().exp(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:563:53: required from here 563 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::ArrayWrapper > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from ‘class Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > >’ 140 | class MatrixWrapper : public MatrixBase > | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:59: required from ‘stan::math::apply_vector_unary, void>::apply >(const Eigen::Matrix&):: >(const Eigen::Matrix&, const stan::math::exp >(const Eigen::Matrix&)::&):: [with auto:7 = Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >]’ 46 | return make_holder([](const auto& a) { return a.matrix().derived(); }, | ~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: required by substitution of ‘template()((declval)()...))>* > auto stan::math::make_holder(const F&, Args&& ...) [with F = stan::math::apply_vector_unary, void>::apply >(const Eigen::Matrix&):: >(const Eigen::Matrix&, const stan::math::exp >(const Eigen::Matrix&)::&)::; Args = {Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >}; stan::require_plain_type_t()((declval)()...))>* = ]’ 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:23: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::exp >(const Eigen::Matrix&)::; T2 = Eigen::Matrix; stan::require_t::type> >* = 0; T = Eigen::Matrix]’ 46 | return make_holder([](const auto& a) { return a.matrix().derived(); }, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | f(x)); | ~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/exp.hpp:62:46: required from ‘auto stan::math::exp(const Container&) [with Container = Eigen::Matrix; stan::require_container_st* = 0]’ 62 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 63 | x, [](const auto& v) { return v.array().exp(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:563:53: required from here 563 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/multiply.hpp:107:13: required from ‘auto stan::math::multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > >; Mat2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_eigen_vt* = 0; stan::require_not_eigen_row_and_col_t* = 0]’ 107 | return m1 * m2; | ~~~^~~~ stanExports_multinom.h:563:37: required from here 563 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:66:44: required from ‘stan::math::log, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >(const Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>&):: [with auto:170 = Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>]’ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::log, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >(const Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>&)::; T2 = Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>; stan::require_t::type> >* = 0; T = Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>]’ 47 | f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:65:46: required from ‘auto stan::math::log(const Container&) [with Container = Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>; stan::require_container_st* = 0]’ 65 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:562:30: required from here 562 | stan::math::log( | ~~~~~~~~~~~~~~~^ 563 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:66:50: required from ‘stan::math::log, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >(const Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>&):: [with auto:170 = Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>]’ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::log, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >(const Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>&)::; T2 = Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>; stan::require_t::type> >* = 0; T = Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>]’ 47 | f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:65:46: required from ‘auto stan::math::log(const Container&) [with Container = Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>; stan::require_container_st* = 0]’ 65 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:562:30: required from here 562 | stan::math::log( | ~~~~~~~~~~~~~~~^ 563 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from ‘class Eigen::MatrixWrapper, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >’ 140 | class MatrixWrapper : public MatrixBase > | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:59: required from ‘stan::math::apply_vector_unary, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, void>::apply, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >(const Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>&):: >(const Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>&, const stan::math::log, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >(const Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>&)::&):: [with auto:7 = Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > >]’ 46 | return make_holder([](const auto& a) { return a.matrix().derived(); }, | ~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: required by substitution of ‘template()((declval)()...))>* > auto stan::math::make_holder(const F&, Args&& ...) [with F = stan::math::apply_vector_unary, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, void>::apply, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >(const Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>&):: >(const Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>&, const stan::math::log, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >(const Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>&)::&)::; Args = {Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > >}; stan::require_plain_type_t()((declval)()...))>* = ]’ 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:23: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::log, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >(const Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>&)::; T2 = Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>; stan::require_t::type> >* = 0; T = Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>]’ 46 | return make_holder([](const auto& a) { return a.matrix().derived(); }, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | f(x)); | ~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:65:46: required from ‘auto stan::math::log(const Container&) [with Container = Eigen::Product, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>; stan::require_container_st* = 0]’ 65 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:562:30: required from here 562 | stan::math::log( | ~~~~~~~~~~~~~~~^ 563 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Replicate.h:61:65: required from ‘class Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1>’ 61 | template class Replicate | ^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/rep_matrix.hpp:57:23: required from ‘auto stan::math::rep_matrix(const Vec&, int) [with Vec = Eigen::MatrixWrapper, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >; stan::require_eigen_vector_t* = 0]’ 57 | return x.replicate(n, 1); | ~~~~~~~~~~~^~~~~~ stanExports_multinom.h:561:35: required from here 561 | stan::math::rep_matrix( | ~~~~~~~~~~~~~~~~~~~~~~^ 562 | stan::math::log( | ~~~~~~~~~~~~~~~~ 563 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from ‘auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix; Mat2 = Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1>; stan::require_all_eigen_t* = 0; stan::require_all_not_st_var* = 0]’ 45 | return m1 - m2; | ~~~^~~~ stanExports_multinom.h:560:31: required from here 560 | stan::math::subtract(linpred, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 561 | stan::math::rep_matrix( | ~~~~~~~~~~~~~~~~~~~~~~~ 562 | stan::math::log( | ~~~~~~~~~~~~~~~~ 563 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:35: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Transpose >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Transpose >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Transpose >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, Eigen::Transpose >, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, Eigen::Transpose >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, Eigen::Transpose >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:17:8: required from ‘struct Eigen::internal::traits >’ 17 | struct traits > : traits > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:45:7: required from ‘class Eigen::Array’ 45 | class Array | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:28:11: required from ‘T_return stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = std::vector; Tb = std::vector; Tz = double; T_return = double; ArrayAT = Eigen::Array; ArrayBT = Eigen::Array; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 28 | ArrayAT a_array = as_array_or_scalar(a); | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:123:47: required from ‘auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector; Tb = std::vector; Tz = double; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 123 | return internal::hypergeometric_3F2_infsum(a, b, z); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:148:28: required from ‘auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t* = 0]’ 148 | return hypergeometric_3F2(std::vector(a), std::vector(b), z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:77:37: required from here 77 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:45:7: required from ‘class Eigen::Array’ 45 | class Array | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:28:11: required from ‘T_return stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = std::vector; Tb = std::vector; Tz = double; T_return = double; ArrayAT = Eigen::Array; ArrayBT = Eigen::Array; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 28 | ArrayAT a_array = as_array_or_scalar(a); | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:123:47: required from ‘auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector; Tb = std::vector; Tz = double; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 123 | return internal::hypergeometric_3F2_infsum(a, b, z); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:148:28: required from ‘auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t* = 0]’ 148 | return hypergeometric_3F2(std::vector(a), std::vector(b), z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:77:37: required from here 77 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 0, Eigen::Stride<0, 0> > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Map.h:94:79: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 94 | template class Map | ^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: required by substitution of ‘template()((declval)()...))>* > auto stan::math::make_holder(const F&, Args&& ...) [with F = stan::math::as_array_or_scalar&>(const std::vector&)::; Args = {const std::vector >&}; stan::require_plain_type_t()((declval)()...))>* = ]’ 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/as_array_or_scalar.hpp:72:21: required from ‘auto stan::math::as_array_or_scalar(T&&) [with T = const std::vector&; stan::require_std_vector_t* = 0; stan::require_not_std_vector_t::type>* = 0]’ 72 | return make_holder([](auto& x) { return T_map(x.data(), x.size()); }, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | std::forward(v)); | ~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:28:39: required from ‘T_return stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = std::vector; Tb = std::vector; Tz = double; T_return = double; ArrayAT = Eigen::Array; ArrayBT = Eigen::Array; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 28 | ArrayAT a_array = as_array_or_scalar(a); | ~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:123:47: required from ‘auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector; Tb = std::vector; Tz = double; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 123 | return internal::hypergeometric_3F2_infsum(a, b, z); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:148:28: required from ‘auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t* = 0]’ 148 | return hypergeometric_3F2(std::vector(a), std::vector(b), z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:77:37: required from here 77 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Array >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from ‘struct Eigen::internal::traits, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > > >’ 38 | >::type Scalar; | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:47:43: required from ‘T_return stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = std::vector; Tb = std::vector; Tz = double; T_return = double; ArrayAT = Eigen::Array; ArrayBT = Eigen::Array; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 47 | const auto& abs_apk = math::fabs((apk == 0).select(1.0, apk)); | ~~~~~^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:123:47: required from ‘auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector; Tb = std::vector; Tz = double; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 123 | return internal::hypergeometric_3F2_infsum(a, b, z); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:148:28: required from ‘auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t* = 0]’ 148 | return hypergeometric_3F2(std::vector(a), std::vector(b), z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:77:37: required from here 77 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Select.h:52:7: required from ‘class Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array >’ 52 | class Select : public internal::dense_xpr_base< Select >::type, | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:47:55: required from ‘T_return stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = std::vector; Tb = std::vector; Tz = double; T_return = double; ArrayAT = Eigen::Array; ArrayBT = Eigen::Array; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 47 | const auto& abs_apk = math::fabs((apk == 0).select(1.0, apk)); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:123:47: required from ‘auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector; Tb = std::vector; Tz = double; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 123 | return internal::hypergeometric_3F2_infsum(a, b, z); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:148:28: required from ‘auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t* = 0]’ 148 | return hypergeometric_3F2(std::vector(a), std::vector(b), z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:77:37: required from here 77 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/fabs.hpp:67:50: required from ‘stan::math::fabs, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > >(const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array >&):: [with auto:10 = Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array >]’ 67 | x, [](const auto& v) { return v.array().abs(); }); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:53:76: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::fabs, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > >(const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array >&)::; T2 = Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array >; stan::require_t::type> >* = 0; T = Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array >]’ 53 | return make_holder([](const auto& a) { return a.array().derived(); }, f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/fabs.hpp:66:46: required from ‘auto stan::math::fabs(const Container&) [with Container = Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array >; stan::require_container_st* = 0]’ 66 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 67 | x, [](const auto& v) { return v.array().abs(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:47:37: required from ‘T_return stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = std::vector; Tb = std::vector; Tz = double; T_return = double; ArrayAT = Eigen::Array; ArrayBT = Eigen::Array; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 47 | const auto& abs_apk = math::fabs((apk == 0).select(1.0, apk)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:123:47: required from ‘auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector; Tb = std::vector; Tz = double; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 123 | return internal::hypergeometric_3F2_infsum(a, b, z); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:148:28: required from ‘auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t* = 0]’ 148 | return hypergeometric_3F2(std::vector(a), std::vector(b), z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:77:37: required from here 77 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryOp, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryOp, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseUnaryOp, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::CwiseUnaryOp, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::CwiseUnaryOp, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:66:50: required from ‘stan::math::log, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > > >(const Eigen::CwiseUnaryOp, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > >&):: [with auto:170 = Eigen::CwiseUnaryOp, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > >]’ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:53:76: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::log, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > > >(const Eigen::CwiseUnaryOp, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > >&)::; T2 = Eigen::CwiseUnaryOp, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > >; stan::require_t::type> >* = 0; T = Eigen::CwiseUnaryOp, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > >]’ 53 | return make_holder([](const auto& a) { return a.array().derived(); }, f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:65:46: required from ‘auto stan::math::log(const Container&) [with Container = Eigen::CwiseUnaryOp, const Eigen::Select, const Eigen::Array, const Eigen::CwiseNullaryOp, Eigen::Array > >, Eigen::CwiseNullaryOp, Eigen::Array >, Eigen::Array > >; stan::require_container_st* = 0]’ 65 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:49:25: required from ‘T_return stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = std::vector; Tb = std::vector; Tz = double; T_return = double; ArrayAT = Eigen::Array; ArrayBT = Eigen::Array; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 49 | T_return p = sum(log(abs_apk)) - sum(log(abs_bpk)); | ~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:123:47: required from ‘auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector; Tb = std::vector; Tz = double; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 123 | return internal::hypergeometric_3F2_infsum(a, b, z); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:148:28: required from ‘auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t* = 0]’ 148 | return hypergeometric_3F2(std::vector(a), std::vector(b), z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:77:37: required from here 77 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:75: required from ‘stan::return_type_t stan::math::lmgamma(int, T) [with T = double; stan::require_arithmetic_t* = 0; stan::return_type_t = double]’ 58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/lmgamma.hpp:16:27: required from here 16 | : op_dv_vari(lmgamma(a, bvi->val_), a, bvi) {} | ~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:32: required from ‘stan::return_type_t stan::math::lmgamma(int, T) [with T = double; stan::require_arithmetic_t* = 0; stan::return_type_t = double]’ 58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2)); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/lmgamma.hpp:16:27: required from here 16 | : op_dv_vari(lmgamma(a, bvi->val_), a, bvi) {} | ~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >, void>::apply(const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&)::, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >, void>::apply(const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&)::, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >, void>::apply(const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&)::, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >, void>::apply(const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&)::, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >, void>::apply(const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&)::, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:62:23: required from ‘static auto stan::math::apply_scalar_unary::type>::value, void>::type>::apply(const T&) [with F = stan::math::lgamma_fun; T = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >]’ 62 | return x.unaryExpr([](auto&& x) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~ 63 | return apply_scalar_unary>::apply(x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 64 | }); | ~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:72:38: required from ‘struct stan::math::apply_scalar_unary, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >, void>’ 72 | apply_scalar_unary::apply(std::declval()))>; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/lgamma.hpp:120:50: required from ‘auto stan::math::lgamma(const T&) [with T = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseNullaryOp, Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >; stan::require_not_var_matrix_t* = 0; stan::require_not_nonscalar_prim_or_rev_kernel_expression_t* = 0]’ 120 | return apply_scalar_unary::apply(x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:29: required from ‘stan::return_type_t stan::math::lmgamma(int, T) [with T = double; stan::require_arithmetic_t* = 0; stan::return_type_t = double]’ 58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/lmgamma.hpp:16:27: required from here 16 | : op_dv_vari(lmgamma(a, bvi->val_), a, bvi) {} | ~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::Matrix, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::Matrix >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:98:40: required from ‘typename Eigen::NumTraits::Scalar>::Real Eigen::MatrixBase::squaredNorm() const [with Derived = Eigen::Matrix; typename Eigen::NumTraits::Scalar>::Real = double; typename Eigen::internal::traits::Scalar = double]’ 98 | return numext::real((*this).cwiseAbs2().sum()); | ~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/variance.hpp:28:37: required from here 28 | double variance = diff.squaredNorm() / size_m1; | ~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/array_var_context.hpp: In instantiation of ‘std::vector stan::io::array_var_context::validate_dims(const std::vector >&, T, const std::vector >&) [with T = long unsigned int]’: /usr/local/lib/R/library/StanHeaders/include/src/stan/io/array_var_context.hpp:97:48: required from here 97 | std::vector dim_vec = validate_dims(names, values.size(), dims); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/array_var_context.hpp:74:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | for (int i = 0; i < dims.size(); i++) { | ~~^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/array_var_context.hpp: In instantiation of ‘std::vector stan::io::array_var_context::validate_dims(const std::vector >&, T, const std::vector >&) [with T = long int]’: /usr/local/lib/R/library/StanHeaders/include/src/stan/io/array_var_context.hpp:118:48: required from here 118 | std::vector dim_vec = validate_dims(names, values.size(), dims); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/array_var_context.hpp:74:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | for (int i = 0; i < dims.size(); i++) { | ~~^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >(Eigen::Map, 0, Eigen::Stride<0, 0> >&&)::::, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >(Eigen::Map, 0, Eigen::Stride<0, 0> >&&)::::, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 0, Eigen::Stride<0, 0> > >(Eigen::Map, 0, Eigen::Stride<0, 0> >&&)::::, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, 0, Eigen::Stride<0, 0> > >(Eigen::Map, 0, Eigen::Stride<0, 0> >&&)::::, const Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, 0, Eigen::Stride<0, 0> > >(Eigen::Map, 0, Eigen::Stride<0, 0> >&&)::::, const Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:110:27: required from ‘stan::math::value_of_rec, 0, Eigen::Stride<0, 0> > >(Eigen::Map, 0, Eigen::Stride<0, 0> >&&):: [with auto:2 = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 110 | return m.unaryExpr([](auto x) { return value_of_rec(x); }); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: required by substitution of ‘template()((declval)()...))>* > auto stan::math::make_holder(const F&, Args&& ...) [with F = stan::math::value_of_rec, 0, Eigen::Stride<0, 0> > >(Eigen::Map, 0, Eigen::Stride<0, 0> >&&)::; Args = {Eigen::Map, 0, Eigen::Stride<0, 0> >}; stan::require_plain_type_t()((declval)()...))>* = ]’ 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/value_of_rec.hpp:108:21: required from ‘auto stan::math::value_of_rec(T&&) [with T = Eigen::Map, 0, Eigen::Stride<0, 0> >; = void; = void]’ 108 | return make_holder( | ~~~~~~~~~~~^ 109 | [](auto& m) { | ~~~~~~~~~~~~~ 110 | return m.unaryExpr([](auto x) { return value_of_rec(x); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | }, | ~~ 112 | std::forward(M)); | ~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_greater_or_equal.hpp:157:30: required from ‘void stan::math::check_greater_or_equal(const char*, const char*, const T_y&, const T_low&, Idxs ...) [with T_y = std::vector; T_low = int; stan::require_vector_t* = 0; stan::require_not_std_vector_vt* = 0; stan::require_stan_scalar_t* = 0; Idxs = {}]’ 157 | auto&& y_arr = value_of_rec(as_array_or_scalar(to_ref(y))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:238:41: required from here 238 | stan::math::check_greater_or_equal(function__, "grp", grp, 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 0, Eigen::Stride<0, 0> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tanh.hpp:59:44: required from ‘stan::math::tanh, 0, Eigen::Stride<0, 0> > >(const Eigen::Map, 0, Eigen::Stride<0, 0> >&):: [with auto:246 = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 59 | x, [](const auto& v) { return v.array().tanh(); }); | ~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::tanh, 0, Eigen::Stride<0, 0> > >(const Eigen::Map, 0, Eigen::Stride<0, 0> >&)::; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_t::type> >* = 0; T = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 47 | f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tanh.hpp:58:46: required from ‘auto stan::math::tanh(const Container&) [with Container = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_container_st* = 0]’ 58 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 59 | x, [](const auto& v) { return v.array().tanh(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/corr_constrain.hpp:47:34: required from ‘auto stan::math::corr_constrain(const T_x&, T_lp&) [with T_x = Eigen::Map, 0, Eigen::Stride<0, 0> >; T_lp = double]’ 47 | plain_type_t tanh_x = tanh(x); | ~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/cholesky_corr_constrain.hpp:56:50: required from ‘Eigen::Matrix::type, -1, -1> stan::math::cholesky_corr_constrain(const EigVec&, int, stan::return_type_t&) [with EigVec = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_eigen_vector_t* = 0; typename stan::value_type::type = double; stan::return_type_t = double]’ 56 | Matrix z = corr_constrain(y, lp); | ~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:817:37: required from ‘auto stan::io::deserializer::read_constrain_cholesky_factor_corr(LP&, Eigen::Index) [with Ret = Eigen::Matrix; bool Jacobian = false; LP = double; stan::require_matrix_t* = 0; T = double; Eigen::Index = long int]’ 817 | return cholesky_corr_constrain( | ~~~~~~~~~~~~~~~~~~~~~~~^ 818 | this->read>((K * (K - 1)) / 2), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 819 | K, lp); | ~~~~~~ stanExports_multinom.h:515:63: required from here 514 | L = in__.template read_constrain_cholesky_factor_corr< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 515 | Eigen::Matrix, jacobian__>(lp__, n_y); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tanh.hpp:59:51: required from ‘stan::math::tanh, 0, Eigen::Stride<0, 0> > >(const Eigen::Map, 0, Eigen::Stride<0, 0> >&):: [with auto:246 = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 59 | x, [](const auto& v) { return v.array().tanh(); }); | ~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::tanh, 0, Eigen::Stride<0, 0> > >(const Eigen::Map, 0, Eigen::Stride<0, 0> >&)::; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_t::type> >* = 0; T = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 47 | f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tanh.hpp:58:46: required from ‘auto stan::math::tanh(const Container&) [with Container = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_container_st* = 0]’ 58 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 59 | x, [](const auto& v) { return v.array().tanh(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/corr_constrain.hpp:47:34: required from ‘auto stan::math::corr_constrain(const T_x&, T_lp&) [with T_x = Eigen::Map, 0, Eigen::Stride<0, 0> >; T_lp = double]’ 47 | plain_type_t tanh_x = tanh(x); | ~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/cholesky_corr_constrain.hpp:56:50: required from ‘Eigen::Matrix::type, -1, -1> stan::math::cholesky_corr_constrain(const EigVec&, int, stan::return_type_t&) [with EigVec = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_eigen_vector_t* = 0; typename stan::value_type::type = double; stan::return_type_t = double]’ 56 | Matrix z = corr_constrain(y, lp); | ~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:817:37: required from ‘auto stan::io::deserializer::read_constrain_cholesky_factor_corr(LP&, Eigen::Index) [with Ret = Eigen::Matrix; bool Jacobian = false; LP = double; stan::require_matrix_t* = 0; T = double; Eigen::Index = long int]’ 817 | return cholesky_corr_constrain( | ~~~~~~~~~~~~~~~~~~~~~~~^ 818 | this->read>((K * (K - 1)) / 2), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 819 | K, lp); | ~~~~~~ stanExports_multinom.h:515:63: required from here 514 | L = in__.template read_constrain_cholesky_factor_corr< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 515 | Eigen::Matrix, jacobian__>(lp__, n_y); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from ‘class Eigen::MatrixWrapper, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > > >’ 140 | class MatrixWrapper : public MatrixBase > | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:59: required from ‘stan::math::apply_vector_unary, 0, Eigen::Stride<0, 0> >, void>::apply, 0, Eigen::Stride<0, 0> > >(const Eigen::Map, 0, Eigen::Stride<0, 0> >&):: >(const Eigen::Map, 0, Eigen::Stride<0, 0> >&, const stan::math::tanh, 0, Eigen::Stride<0, 0> > >(const Eigen::Map, 0, Eigen::Stride<0, 0> >&)::&):: [with auto:7 = Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > >]’ 46 | return make_holder([](const auto& a) { return a.matrix().derived(); }, | ~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: required by substitution of ‘template()((declval)()...))>* > auto stan::math::make_holder(const F&, Args&& ...) [with F = stan::math::apply_vector_unary, 0, Eigen::Stride<0, 0> >, void>::apply, 0, Eigen::Stride<0, 0> > >(const Eigen::Map, 0, Eigen::Stride<0, 0> >&):: >(const Eigen::Map, 0, Eigen::Stride<0, 0> >&, const stan::math::tanh, 0, Eigen::Stride<0, 0> > >(const Eigen::Map, 0, Eigen::Stride<0, 0> >&)::&)::; Args = {Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > >}; stan::require_plain_type_t()((declval)()...))>* = ]’ 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:23: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::tanh, 0, Eigen::Stride<0, 0> > >(const Eigen::Map, 0, Eigen::Stride<0, 0> >&)::; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_t::type> >* = 0; T = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 46 | return make_holder([](const auto& a) { return a.matrix().derived(); }, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | f(x)); | ~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tanh.hpp:58:46: required from ‘auto stan::math::tanh(const Container&) [with Container = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_container_st* = 0]’ 58 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 59 | x, [](const auto& v) { return v.array().tanh(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/corr_constrain.hpp:47:34: required from ‘auto stan::math::corr_constrain(const T_x&, T_lp&) [with T_x = Eigen::Map, 0, Eigen::Stride<0, 0> >; T_lp = double]’ 47 | plain_type_t tanh_x = tanh(x); | ~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/cholesky_corr_constrain.hpp:56:50: required from ‘Eigen::Matrix::type, -1, -1> stan::math::cholesky_corr_constrain(const EigVec&, int, stan::return_type_t&) [with EigVec = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_eigen_vector_t* = 0; typename stan::value_type::type = double; stan::return_type_t = double]’ 56 | Matrix z = corr_constrain(y, lp); | ~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:817:37: required from ‘auto stan::io::deserializer::read_constrain_cholesky_factor_corr(LP&, Eigen::Index) [with Ret = Eigen::Matrix; bool Jacobian = false; LP = double; stan::require_matrix_t* = 0; T = double; Eigen::Index = long int]’ 817 | return cholesky_corr_constrain( | ~~~~~~~~~~~~~~~~~~~~~~~^ 818 | this->read>((K * (K - 1)) / 2), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 819 | K, lp); | ~~~~~~ stanExports_multinom.h:515:63: required from here 514 | L = in__.template read_constrain_cholesky_factor_corr< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 515 | Eigen::Matrix, jacobian__>(lp__, n_y); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/square.hpp:70:53: required from ‘stan::math::square >(const Eigen::Matrix&):: [with auto:239 = Eigen::Matrix]’ 70 | x, [](const auto& v) { return v.array().square(); }); | ~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::square >(const Eigen::Matrix&)::; T2 = Eigen::Matrix; stan::require_t::type> >* = 0; T = Eigen::Matrix]’ 47 | f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/square.hpp:69:46: required from ‘auto stan::math::square(const Container&) [with Container = Eigen::Matrix; stan::require_container_st* = 0]’ 69 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 70 | x, [](const auto& v) { return v.array().square(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/corr_constrain.hpp:48:25: required from ‘auto stan::math::corr_constrain(const T_x&, T_lp&) [with T_x = Eigen::Map, 0, Eigen::Stride<0, 0> >; T_lp = double]’ 48 | lp += sum(log1m(square(tanh_x))); | ~~~~~~^~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/cholesky_corr_constrain.hpp:56:50: required from ‘Eigen::Matrix::type, -1, -1> stan::math::cholesky_corr_constrain(const EigVec&, int, stan::return_type_t&) [with EigVec = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_eigen_vector_t* = 0; typename stan::value_type::type = double; stan::return_type_t = double]’ 56 | Matrix z = corr_constrain(y, lp); | ~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:817:37: required from ‘auto stan::io::deserializer::read_constrain_cholesky_factor_corr(LP&, Eigen::Index) [with Ret = Eigen::Matrix; bool Jacobian = false; LP = double; stan::require_matrix_t* = 0; T = double; Eigen::Index = long int]’ 817 | return cholesky_corr_constrain( | ~~~~~~~~~~~~~~~~~~~~~~~^ 818 | this->read>((K * (K - 1)) / 2), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 819 | K, lp); | ~~~~~~ stanExports_multinom.h:515:63: required from here 514 | L = in__.template read_constrain_cholesky_factor_corr< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 515 | Eigen::Matrix, jacobian__>(lp__, n_y); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::ArrayWrapper > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from ‘class Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > >’ 140 | class MatrixWrapper : public MatrixBase > | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:59: required from ‘stan::math::apply_vector_unary, void>::apply >(const Eigen::Matrix&):: >(const Eigen::Matrix&, const stan::math::square >(const Eigen::Matrix&)::&):: [with auto:7 = Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >]’ 46 | return make_holder([](const auto& a) { return a.matrix().derived(); }, | ~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: required by substitution of ‘template()((declval)()...))>* > auto stan::math::make_holder(const F&, Args&& ...) [with F = stan::math::apply_vector_unary, void>::apply >(const Eigen::Matrix&):: >(const Eigen::Matrix&, const stan::math::square >(const Eigen::Matrix&)::&)::; Args = {Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >}; stan::require_plain_type_t()((declval)()...))>* = ]’ 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:23: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::square >(const Eigen::Matrix&)::; T2 = Eigen::Matrix; stan::require_t::type> >* = 0; T = Eigen::Matrix]’ 46 | return make_holder([](const auto& a) { return a.matrix().derived(); }, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | f(x)); | ~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/square.hpp:69:46: required from ‘auto stan::math::square(const Container&) [with Container = Eigen::Matrix; stan::require_container_st* = 0]’ 69 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 70 | x, [](const auto& v) { return v.array().square(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/corr_constrain.hpp:48:25: required from ‘auto stan::math::corr_constrain(const T_x&, T_lp&) [with T_x = Eigen::Map, 0, Eigen::Stride<0, 0> >; T_lp = double]’ 48 | lp += sum(log1m(square(tanh_x))); | ~~~~~~^~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/cholesky_corr_constrain.hpp:56:50: required from ‘Eigen::Matrix::type, -1, -1> stan::math::cholesky_corr_constrain(const EigVec&, int, stan::return_type_t&) [with EigVec = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_eigen_vector_t* = 0; typename stan::value_type::type = double; stan::return_type_t = double]’ 56 | Matrix z = corr_constrain(y, lp); | ~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:817:37: required from ‘auto stan::io::deserializer::read_constrain_cholesky_factor_corr(LP&, Eigen::Index) [with Ret = Eigen::Matrix; bool Jacobian = false; LP = double; stan::require_matrix_t* = 0; T = double; Eigen::Index = long int]’ 817 | return cholesky_corr_constrain( | ~~~~~~~~~~~~~~~~~~~~~~~^ 818 | this->read>((K * (K - 1)) / 2), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 819 | K, lp); | ~~~~~~ stanExports_multinom.h:515:63: required from here 514 | L = in__.template read_constrain_cholesky_factor_corr< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 515 | Eigen::Matrix, jacobian__>(lp__, n_y); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper > > >, void>::apply(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > >&)::, const Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper > > >, void>::apply(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > >&)::, const Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::ArrayWrapper > > >, void>::apply(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > >&)::, const Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper > > >, void>::apply(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > >&)::, const Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, void>::apply(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > >&)::, const Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:62:23: required from ‘static auto stan::math::apply_scalar_unary::type>::value, void>::type>::apply(const T&) [with F = stan::math::log1m_fun; T = Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > >]’ 62 | return x.unaryExpr([](auto&& x) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~ 63 | return apply_scalar_unary>::apply(x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 64 | }); | ~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:72:38: required from ‘struct stan::math::apply_scalar_unary, const Eigen::ArrayWrapper > > >, void>’ 72 | apply_scalar_unary::apply(std::declval()))>; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log1m.hpp:74:49: required from ‘auto stan::math::log1m(const T&) [with T = Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > >; stan::require_not_var_matrix_t* = 0; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0]’ 74 | return apply_scalar_unary::apply(x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/corr_constrain.hpp:48:18: required from ‘auto stan::math::corr_constrain(const T_x&, T_lp&) [with T_x = Eigen::Map, 0, Eigen::Stride<0, 0> >; T_lp = double]’ 48 | lp += sum(log1m(square(tanh_x))); | ~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/cholesky_corr_constrain.hpp:56:50: required from ‘Eigen::Matrix::type, -1, -1> stan::math::cholesky_corr_constrain(const EigVec&, int, stan::return_type_t&) [with EigVec = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_eigen_vector_t* = 0; typename stan::value_type::type = double; stan::return_type_t = double]’ 56 | Matrix z = corr_constrain(y, lp); | ~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:817:37: required from ‘auto stan::io::deserializer::read_constrain_cholesky_factor_corr(LP&, Eigen::Index) [with Ret = Eigen::Matrix; bool Jacobian = false; LP = double; stan::require_matrix_t* = 0; T = double; Eigen::Index = long int]’ 817 | return cholesky_corr_constrain( | ~~~~~~~~~~~~~~~~~~~~~~~^ 818 | this->read>((K * (K - 1)) / 2), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 819 | K, lp); | ~~~~~~ stanExports_multinom.h:515:63: required from here 514 | L = in__.template read_constrain_cholesky_factor_corr< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 515 | Eigen::Matrix, jacobian__>(lp__, n_y); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ stanExports_multinom.h: In instantiation of ‘void model_multinom_namespace::model_multinom::unconstrain_array_impl(const VecVar&, const VecI&, VecVar&, std::ostream*) const [with VecVar = std::vector; VecI = std::vector; stan::require_vector_t* = 0; stan::require_vector_like_vt* = 0; std::ostream = std::basic_ostream]’: stanExports_multinom.h:961:27: required from here 961 | unconstrain_array_impl(params_constrained, params_i, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 962 | params_unconstrained, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:590:11: warning: variable ‘pos__’ set but not used [-Wunused-but-set-variable=] 590 | int pos__ = std::numeric_limits::min(); | ^~~~~ stanExports_multinom.h: In instantiation of ‘void model_multinom_namespace::model_multinom::unconstrain_array_impl(const VecVar&, const VecI&, VecVar&, std::ostream*) const [with VecVar = Eigen::Matrix; VecI = std::vector; stan::require_vector_t* = 0; stan::require_vector_like_vt* = 0; std::ostream = std::basic_ostream]’: stanExports_multinom.h:971:27: required from here 971 | unconstrain_array_impl(params_constrained, params_i, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 972 | params_unconstrained, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:590:11: warning: variable ‘pos__’ set but not used [-Wunused-but-set-variable=] 590 | int pos__ = std::numeric_limits::min(); | ^~~~~ ../inst/include/rstan/stan_fit.hpp: In instantiation of ‘SEXPREC* rstan::stan_fit::standalone_gqs(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’: stanExports_multinom.cc:30:89: required from here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:817:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable=] 817 | int ret = stan::services::error_codes::CONFIG; | ^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:181:31: required from ‘stan::return_type_t stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional; stan::require_all_arithmetic_t* = 0; stan::return_type_t = double]’ 181 | Eigen::Matrix a_args(2); | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:190:39: required from ‘TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple]’ 190 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:57: required from ‘auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t >* = 0]’ 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 307 | precision, max_steps); | ~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:37:25: required from here 37 | = grad_2F1(a + b, 1.0, a + 1, z); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:181:31: required from ‘stan::return_type_t stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional; stan::require_all_arithmetic_t* = 0; stan::return_type_t = double]’ 181 | Eigen::Matrix a_args(2); | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:190:39: required from ‘TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple]’ 190 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:57: required from ‘auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t >* = 0]’ 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 307 | precision, max_steps); | ~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:37:25: required from here 37 | = grad_2F1(a + b, 1.0, a + 1, z); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:182:31: required from ‘stan::return_type_t stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional; stan::require_all_arithmetic_t* = 0; stan::return_type_t = double]’ 182 | Eigen::Matrix b_args(1); | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:190:39: required from ‘TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple]’ 190 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:57: required from ‘auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t >* = 0]’ 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 307 | precision, max_steps); | ~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:37:25: required from here 37 | = grad_2F1(a + b, 1.0, a + 1, z); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:182:31: required from ‘stan::return_type_t stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional; stan::require_all_arithmetic_t* = 0; stan::return_type_t = double]’ 182 | Eigen::Matrix b_args(1); | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:190:39: required from ‘TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple]’ 190 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:57: required from ‘auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t >* = 0]’ 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 307 | precision, max_steps); | ~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:37:25: required from here 37 | = grad_2F1(a + b, 1.0, a + 1, z); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::Array, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::Array >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:117:39: required from ‘TupleT stan::math::internal::grad_2F1_impl_ab(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple]’ 117 | inner_diff = g_current.array().abs().maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:204:78: required from ‘TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple]’ 204 | grad_tuple_ab = grad_2F1_impl_ab( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 205 | a1_euler, a2_euler, b1, z_euler); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:57: required from ‘auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t >* = 0]’ 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 307 | precision, max_steps); | ~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:37:25: required from here 37 | = grad_2F1(a + b, 1.0, a + 1, z); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 513 | typedef typename _CastType::Scalar NewScalarType; | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:62:1: required by substitution of ‘template typename Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >::CastXpr::Type Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >::cast() const [with NewType = double]’ 62 | cast() const | ^~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/append_row.hpp:102:38: required from ‘Eigen::Matrix::type, -1, 1> stan::math::append_row(const ColVec&, const Scal&) [with ColVec = Eigen::Map, 0, Eigen::Stride<0, 0> >; Scal = double; stan::require_t >* = 0; stan::require_stan_scalar_t* = 0; typename stan::return_type::type = double]’ 102 | result << A.template cast(), B; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:29:31: required from ‘T_return stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = std::vector; Tb = std::vector; Tz = double; T_return = double; ArrayAT = Eigen::Array; ArrayBT = Eigen::Array; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 29 | ArrayBT b_array = append_row(as_array_or_scalar(b), 1.0); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:123:47: required from ‘auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector; Tb = std::vector; Tz = double; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 123 | return internal::hypergeometric_3F2_infsum(a, b, z); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:148:28: required from ‘auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t* = 0]’ 148 | return hypergeometric_3F2(std::vector(a), std::vector(b), z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:77:37: required from here 77 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta.hpp:70, from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4, from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4, from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/core.hpp:4, from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim.hpp:10: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_less_or_equal.hpp: In instantiation of ‘void stan::math::check_less_or_equal(const char*, const char*, const T_y&, const T_high&, Idxs ...) [with T_y = long unsigned int; T_high = long int; stan::require_all_stan_scalar_t* = 0; Idxs = {}]’: /usr/local/lib/R/library/StanHeaders/include/src/stan/io/array_var_context.hpp:79:36: required from ‘std::vector stan::io::array_var_context::validate_dims(const std::vector >&, T, const std::vector >&) [with T = long int]’ 79 | stan::math::check_less_or_equal("validate_dims", "array_var_context", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | elem_dims_total[dims.size()], array_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/array_var_context.hpp:118:48: required from here 118 | std::vector dim_vec = validate_dims(names, values.size(), dims); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_less_or_equal.hpp:39:20: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const long int’ [-Wsign-compare] 39 | if (unlikely(!(y <= high))) { | ~~~^~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/compiler_attributes.hpp:9:41: note: in definition of macro ‘unlikely’ 9 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:21: required from ‘auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::Matrix; Scal = int; stan::require_eigen_t* = 0; stan::require_stan_scalar_t* = 0; stan::require_all_not_st_var* = 0]’ 79 | return (m.array() - c).matrix(); | ~~~~~~~~~~~^~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/lb_free.hpp:37:29: required from ‘auto stan::math::lb_free(T&&, L&&) [with T = const Eigen::Matrix&; L = const int&; stan::require_not_std_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 37 | return eval(log(subtract(std::forward(y_ref), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 | std::forward(lb_ref)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/serializer.hpp:253:36: required from ‘void stan::io::serializer::write_free_lb(const L&, const S&) [with S = Eigen::Matrix; L = int; T = double]’ 253 | this->write(stan::math::lb_free(x, lb)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ stanExports_multinom.h:743:26: required from ‘void model_multinom_namespace::model_multinom::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector; stan::require_vector_t* = 0; std::ostream = std::basic_ostream]’ 743 | out__.write_free_lb(0, sigma_grp); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:952:25: required from here 952 | transform_inits_impl(context, vars, pstream__); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from ‘class Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 140 | class MatrixWrapper : public MatrixBase > | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:32: required from ‘auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::Matrix; Scal = int; stan::require_eigen_t* = 0; stan::require_stan_scalar_t* = 0; stan::require_all_not_st_var* = 0]’ 79 | return (m.array() - c).matrix(); | ~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/lb_free.hpp:37:29: required from ‘auto stan::math::lb_free(T&&, L&&) [with T = const Eigen::Matrix&; L = const int&; stan::require_not_std_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 37 | return eval(log(subtract(std::forward(y_ref), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 | std::forward(lb_ref)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/serializer.hpp:253:36: required from ‘void stan::io::serializer::write_free_lb(const L&, const S&) [with S = Eigen::Matrix; L = int; T = double]’ 253 | this->write(stan::math::lb_free(x, lb)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ stanExports_multinom.h:743:26: required from ‘void model_multinom_namespace::model_multinom::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector; stan::require_vector_t* = 0; std::ostream = std::basic_ostream]’ 743 | out__.write_free_lb(0, sigma_grp); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:952:25: required from here 952 | transform_inits_impl(context, vars, pstream__); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:66:44: required from ‘stan::math::log, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&):: [with auto:170 = Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >]’ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::log, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&)::; T2 = Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >; stan::require_t::type> >* = 0; T = Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >]’ 47 | f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:65:46: required from ‘auto stan::math::log(const Container&) [with Container = Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >; stan::require_container_st* = 0]’ 65 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/lb_free.hpp:37:20: required from ‘auto stan::math::lb_free(T&&, L&&) [with T = const Eigen::Matrix&; L = const int&; stan::require_not_std_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 37 | return eval(log(subtract(std::forward(y_ref), | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 | std::forward(lb_ref)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/serializer.hpp:253:36: required from ‘void stan::io::serializer::write_free_lb(const L&, const S&) [with S = Eigen::Matrix; L = int; T = double]’ 253 | this->write(stan::math::lb_free(x, lb)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ stanExports_multinom.h:743:26: required from ‘void model_multinom_namespace::model_multinom::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector; stan::require_vector_t* = 0; std::ostream = std::basic_ostream]’ 743 | out__.write_free_lb(0, sigma_grp); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:952:25: required from here 952 | transform_inits_impl(context, vars, pstream__); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:66:50: required from ‘stan::math::log, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&):: [with auto:170 = Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >]’ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::log, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&)::; T2 = Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >; stan::require_t::type> >* = 0; T = Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >]’ 47 | f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:65:46: required from ‘auto stan::math::log(const Container&) [with Container = Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >; stan::require_container_st* = 0]’ 65 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/lb_free.hpp:37:20: required from ‘auto stan::math::lb_free(T&&, L&&) [with T = const Eigen::Matrix&; L = const int&; stan::require_not_std_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 37 | return eval(log(subtract(std::forward(y_ref), | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 | std::forward(lb_ref)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/serializer.hpp:253:36: required from ‘void stan::io::serializer::write_free_lb(const L&, const S&) [with S = Eigen::Matrix; L = int; T = double]’ 253 | this->write(stan::math::lb_free(x, lb)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ stanExports_multinom.h:743:26: required from ‘void model_multinom_namespace::model_multinom::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector; stan::require_vector_t* = 0; std::ostream = std::basic_ostream]’ 743 | out__.write_free_lb(0, sigma_grp); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:952:25: required from here 952 | transform_inits_impl(context, vars, pstream__); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from ‘class Eigen::MatrixWrapper, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > > > >’ 140 | class MatrixWrapper : public MatrixBase > | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:59: required from ‘stan::math::apply_vector_unary, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >, void>::apply, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&):: >(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&, const stan::math::log, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&)::&):: [with auto:7 = Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > > >]’ 46 | return make_holder([](const auto& a) { return a.matrix().derived(); }, | ~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: required by substitution of ‘template()((declval)()...))>* > auto stan::math::make_holder(const F&, Args&& ...) [with F = stan::math::apply_vector_unary, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >, void>::apply, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&):: >(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&, const stan::math::log, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&)::&)::; Args = {Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > > >}; stan::require_plain_type_t()((declval)()...))>* = ]’ 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:23: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::apply(const T&, const F&) [with F = stan::math::log, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >(const Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >&)::; T2 = Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >; stan::require_t::type> >* = 0; T = Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >]’ 46 | return make_holder([](const auto& a) { return a.matrix().derived(); }, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | f(x)); | ~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:65:46: required from ‘auto stan::math::log(const Container&) [with Container = Eigen::MatrixWrapper, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >; stan::require_container_st* = 0]’ 65 | return apply_vector_unary::apply( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/lb_free.hpp:37:20: required from ‘auto stan::math::lb_free(T&&, L&&) [with T = const Eigen::Matrix&; L = const int&; stan::require_not_std_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 37 | return eval(log(subtract(std::forward(y_ref), | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 | std::forward(lb_ref)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/serializer.hpp:253:36: required from ‘void stan::io::serializer::write_free_lb(const L&, const S&) [with S = Eigen::Matrix; L = int; T = double]’ 253 | this->write(stan::math::lb_free(x, lb)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ stanExports_multinom.h:743:26: required from ‘void model_multinom_namespace::model_multinom::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector; stan::require_vector_t* = 0; std::ostream = std::basic_ostream]’ 743 | out__.write_free_lb(0, sigma_grp); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:952:25: required from here 952 | transform_inits_impl(context, vars, pstream__); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp: In instantiation of ‘int stan::services::standalone_generate(const Model&, const Eigen::MatrixXd&, unsigned int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; Eigen::MatrixXd = Eigen::Matrix]’: ../inst/include/rstan/stan_fit.hpp:818:46: required from ‘SEXPREC* rstan::stan_fit::standalone_gqs(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 818 | ret = stan::services::standalone_generate(model_, draws, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 819 | Rcpp::as(seed), interrupt, logger, *sample_writer_ptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:30:89: required from here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:55:22: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘Eigen::Index’ {aka ‘long int’} [-Wsign-compare] 55 | if (p_names.size() != draws.cols()) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:71:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::Index’ {aka ‘long int’} [-Wsign-compare] 71 | for (size_t i = 0; i < draws.rows(); ++i) { | ~~^~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/BH/include/boost/concept/assert.hpp:35, from /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:20, from /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:19, from /usr/local/lib/R/library/BH/include/boost/range/size_type.hpp:20, from /usr/local/lib/R/library/BH/include/boost/range/size.hpp:21, from /usr/local/lib/R/library/BH/include/boost/range/functions.hpp:20, from /usr/local/lib/R/library/BH/include/boost/range.hpp:18, from /usr/local/lib/R/library/BH/include/boost/numeric/odeint/util/resize.hpp:24: /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::constraint::failed() [with Model = boost::algorithm::FinderConcept >, __gnu_cxx::__normal_iterator > >]’: /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:81:13: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:65:52: warning: ‘this’ pointer is null [-Wnonnull] 65 | static void failed() { ((Model*)0)->constraints(); } | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:26, from /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:16, from /usr/local/lib/R/library/BH/include/boost/algorithm/string.hpp:23, from /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:4, from ../inst/include/rstan/stan_fit.hpp:47: /usr/local/lib/R/library/BH/include/boost/algorithm/string/concept.hpp:40:18: note: in a call to non-static member function ‘void boost::algorithm::FinderConcept::constraints() [with FinderT = boost::algorithm::detail::token_finderF >; IteratorT = __gnu_cxx::__normal_iterator >]’ 40 | void constraints() | ^~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::constraint::failed() [with Model = boost::algorithm::FinderConcept, __gnu_cxx::__normal_iterator > >]’: /usr/local/lib/R/library/BH/include/boost/algorithm/string/find_format.hpp:98:13: required from ‘void boost::algorithm::find_format(SequenceT&, FinderT, FormatterT) [with SequenceT = std::__cxx11::basic_string; FinderT = detail::first_finderF; FormatterT = detail::const_formatF >]’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/replace.hpp:179:44: required from ‘void boost::algorithm::replace_first(SequenceT&, const Range1T&, const Range2T&) [with SequenceT = std::__cxx11::basic_string; Range1T = char [11]; Range2T = char [1]]’ 179 | ::boost::algorithm::find_format( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 180 | Input, | ~~~~~~ 181 | ::boost::algorithm::first_finder(Search), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | ::boost::algorithm::const_formatter(Format) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:133:29: required from here 133 | boost::replace_first(value, " (Default)", ""); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:65:52: warning: ‘this’ pointer is null [-Wnonnull] 65 | static void failed() { ((Model*)0)->constraints(); } | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/concept.hpp:40:18: note: in a call to non-static member function ‘void boost::algorithm::FinderConcept::constraints() [with FinderT = boost::algorithm::detail::first_finderF; IteratorT = __gnu_cxx::__normal_iterator >]’ 40 | void constraints() | ^~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::constraint::failed() [with Model = boost::algorithm::FormatterConcept >, boost::algorithm::detail::first_finderF, __gnu_cxx::__normal_iterator > >]’: /usr/local/lib/R/library/BH/include/boost/algorithm/string/find_format.hpp:103:13: required from ‘void boost::algorithm::find_format(SequenceT&, FinderT, FormatterT) [with SequenceT = std::__cxx11::basic_string; FinderT = detail::first_finderF; FormatterT = detail::const_formatF >]’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/replace.hpp:179:44: required from ‘void boost::algorithm::replace_first(SequenceT&, const Range1T&, const Range2T&) [with SequenceT = std::__cxx11::basic_string; Range1T = char [11]; Range2T = char [1]]’ 179 | ::boost::algorithm::find_format( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 180 | Input, | ~~~~~~ 181 | ::boost::algorithm::first_finder(Search), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | ::boost::algorithm::const_formatter(Format) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:133:29: required from here 133 | boost::replace_first(value, " (Default)", ""); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:65:52: warning: ‘this’ pointer is null [-Wnonnull] 65 | static void failed() { ((Model*)0)->constraints(); } | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/concept.hpp:65:18: note: in a call to non-static member function ‘void boost::algorithm::FormatterConcept::constraints() [with FormatterT = boost::algorithm::detail::const_formatF >; FinderT = boost::algorithm::detail::first_finderF; IteratorT = __gnu_cxx::__normal_iterator >]’ 65 | void constraints() | ^~~~~~~~~~~ In file included from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:5, from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:5, from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err.hpp:4, from /usr/local/lib/R/library/StanHeaders/include/stan/math/prim.hpp:12: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of ‘void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_finite >(const char*, const char*, const Eigen::Matrix&)::; T = Eigen::Matrix; Indexings = {}; stan::require_eigen_t* = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* = 0]’: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_finite.hpp:29:20: required from ‘void stan::math::check_finite(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix]’ 29 | elementwise_check([](double x) { return std::isfinite(x); }, function, name, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | y, "finite"); | ~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:35:15: required from ‘stan::return_type_t stan::math::hypergeometric_pFq(const Ta&, const Tb&, const Tz&) [with Ta = Eigen::Matrix; Tb = Eigen::Matrix; Tz = double; stan::require_all_eigen_st* = 0; stan::require_arithmetic_t* = 0; stan::return_type_t = double]’ 35 | check_finite("hypergeometric_pFq", "a", a_ref); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:125:28: required from ‘auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector; Tb = std::vector; Tz = double; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 125 | return hypergeometric_pFq(to_vector(a), to_vector(b), z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:148:28: required from ‘auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t* = 0]’ 148 | return hypergeometric_3F2(std::vector(a), std::vector(b), z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:77:37: required from here 77 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase >::Index’ {aka ‘long int’} [-Wsign-compare] 153 | for (size_t i = 0; i < x.size(); i++) { | ~~^~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of ‘void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_not_nan >(const char*, const char*, const Eigen::Matrix&)::; T = Eigen::Matrix; Indexings = {}; stan::require_eigen_t* = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* = 0]’: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:28:20: required from ‘void stan::math::check_not_nan(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix]’ 28 | elementwise_check([](double x) { return !std::isnan(x); }, function, name, y, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | "not nan"); | ~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:39:16: required from ‘stan::return_type_t stan::math::hypergeometric_pFq(const Ta&, const Tb&, const Tz&) [with Ta = Eigen::Matrix; Tb = Eigen::Matrix; Tz = double; stan::require_all_eigen_st* = 0; stan::require_arithmetic_t* = 0; stan::return_type_t = double]’ 39 | check_not_nan("hypergeometric_pFq", "a", a_ref); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:125:28: required from ‘auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector; Tb = std::vector; Tz = double; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 125 | return hypergeometric_pFq(to_vector(a), to_vector(b), z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:148:28: required from ‘auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t* = 0]’ 148 | return hypergeometric_3F2(std::vector(a), std::vector(b), z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:77:37: required from here 77 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase >::Index’ {aka ‘long int’} [-Wsign-compare] 153 | for (size_t i = 0; i < x.size(); i++) { | ~~^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseUnaryOp, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseUnaryOp, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseUnaryOp, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseUnaryOp, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:92:58: required from ‘stan::math::log_sum_exp >(const Eigen::Matrix&):: [with auto:304 = Eigen::Matrix]’ 92 | return max + std::log((v_ref.array() - max).exp().sum()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:93:13: required from ‘static auto stan::math::apply_vector_unary::type>::value, void>::type>::reduce(const T&, const F&) [with F = stan::math::log_sum_exp >(const Eigen::Matrix&)::; T = Eigen::Matrix]’ 93 | return f(x); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:83:39: required from ‘auto stan::math::log_sum_exp(const T&) [with T = Eigen::Matrix; stan::require_container_st* = 0]’ 83 | return apply_vector_unary::reduce(x, [&](const auto& v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 84 | if (v.size() == 0) { | ~~~~~~~~~~~~~~~~~~~~ 85 | return NEGATIVE_INFTY; | ~~~~~~~~~~~~~~~~~~~~~~ 86 | } | ~ 87 | const auto& v_ref = to_ref(v); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | const double max = v_ref.maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | if (!std::isfinite(max)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | return max; | ~~~~~~~~~~~ 91 | } | ~ 92 | return max + std::log((v_ref.array() - max).exp().sum()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | }); | ~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/dirichlet_rng.hpp:59:35: required from here 59 | double log_sum_y = log_sum_exp(log_y); | ~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:330: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of ‘class Eigen::internal::gebp_traits’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:72:102: required from ‘static void Eigen::internal::general_matrix_matrix_triangular_product::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking&) [with Index = long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]’ 72 | typedef blas_data_mapper ResMapper; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from ‘static void Eigen::selfadjoint_product_selector::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix; OtherType = Eigen::Matrix; int UpLo = 2; typename MatrixType::Scalar = double]’ 109 | internal::general_matrix_matrix_triangular_product::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | ::run(size, depth, | ~~~~~^~~~~~~~~~~~~ 114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from ‘Eigen::SelfAdjointView& Eigen::SelfAdjointView::rankUpdate(const Eigen::MatrixBase&, const Scalar&) [with DerivedU = Eigen::Matrix; _MatrixType = Eigen::Matrix; unsigned int UpLo = 2; Scalar = double]’ 126 | selfadjoint_product_selector::run(_expression().const_cast_derived(), u.derived(), alpha); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 33 | return result.setZero().template selfadjointView().rankUpdate( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 34 | M_ref); | ~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable, | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable, | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 433 | LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 434 | RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 435 | ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 460 | typedef typename conditional::type LhsPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 461 | typedef typename conditional::type RhsPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 462 | typedef typename conditional::type ResPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 465 | typedef QuadPacket RhsPacketx4; | ^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of ‘class Eigen::internal::gebp_traits’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1080:42: required from ‘struct Eigen::internal::gebp_kernel, 4, 4, false, false>’ 1080 | typedef typename HalfTraits::LhsPacket LhsPacketHalf; | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:92:109: required from ‘static void Eigen::internal::general_matrix_matrix_triangular_product::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking&) [with Index = long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]’ 92 | gebp_kernel gebp; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from ‘static void Eigen::selfadjoint_product_selector::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix; OtherType = Eigen::Matrix; int UpLo = 2; typename MatrixType::Scalar = double]’ 109 | internal::general_matrix_matrix_triangular_product::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | ::run(size, depth, | ~~~~~^~~~~~~~~~~~~ 114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from ‘Eigen::SelfAdjointView& Eigen::SelfAdjointView::rankUpdate(const Eigen::MatrixBase&, const Scalar&) [with DerivedU = Eigen::Matrix; _MatrixType = Eigen::Matrix; unsigned int UpLo = 2; Scalar = double]’ 126 | selfadjoint_product_selector::run(_expression().const_cast_derived(), u.derived(), alpha); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 33 | return result.setZero().template selfadjointView().rankUpdate( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 34 | M_ref); | ~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable, | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable, | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 433 | LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 434 | RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 435 | ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 460 | typedef typename conditional::type LhsPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 461 | typedef typename conditional::type RhsPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 462 | typedef typename conditional::type ResPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 465 | typedef QuadPacket RhsPacketx4; | ^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of ‘class Eigen::internal::gebp_traits’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1085:45: required from ‘struct Eigen::internal::gebp_kernel, 4, 4, false, false>’ 1085 | typedef typename QuarterTraits::LhsPacket LhsPacketQuarter; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:92:109: required from ‘static void Eigen::internal::general_matrix_matrix_triangular_product::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking&) [with Index = long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]’ 92 | gebp_kernel gebp; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from ‘static void Eigen::selfadjoint_product_selector::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix; OtherType = Eigen::Matrix; int UpLo = 2; typename MatrixType::Scalar = double]’ 109 | internal::general_matrix_matrix_triangular_product::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | ::run(size, depth, | ~~~~~^~~~~~~~~~~~~ 114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from ‘Eigen::SelfAdjointView& Eigen::SelfAdjointView::rankUpdate(const Eigen::MatrixBase&, const Scalar&) [with DerivedU = Eigen::Matrix; _MatrixType = Eigen::Matrix; unsigned int UpLo = 2; Scalar = double]’ 126 | selfadjoint_product_selector::run(_expression().const_cast_derived(), u.derived(), alpha); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 33 | return result.setZero().template selfadjointView().rankUpdate( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 34 | M_ref); | ~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 384 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable, | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable, | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 433 | LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 434 | RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 435 | ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 460 | typedef typename conditional::type LhsPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 461 | typedef typename conditional::type RhsPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 462 | typedef typename conditional::type ResPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 465 | typedef QuadPacket RhsPacketx4; | ^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1, false>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1, false>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, -1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CommaInitializer.h:159:10: required from ‘Eigen::CommaInitializer Eigen::DenseBase::operator<<(const Eigen::DenseBase&) [with OtherDerived = Eigen::Map, 0, Eigen::Stride<0, 0> >; Derived = Eigen::Matrix]’ 159 | return CommaInitializer(*static_cast(this), other); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/append_row.hpp:102:10: required from ‘Eigen::Matrix::type, -1, 1> stan::math::append_row(const ColVec&, const Scal&) [with ColVec = Eigen::Map, 0, Eigen::Stride<0, 0> >; Scal = double; stan::require_t >* = 0; stan::require_stan_scalar_t* = 0; typename stan::return_type::type = double]’ 102 | result << A.template cast(), B; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:29:31: required from ‘T_return stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = std::vector; Tb = std::vector; Tz = double; T_return = double; ArrayAT = Eigen::Array; ArrayBT = Eigen::Array; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 29 | ArrayBT b_array = append_row(as_array_or_scalar(b), 1.0); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:123:47: required from ‘auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector; Tb = std::vector; Tz = double; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 123 | return internal::hypergeometric_3F2_infsum(a, b, z); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:148:28: required from ‘auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t* = 0]’ 148 | return hypergeometric_3F2(std::vector(a), std::vector(b), z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:77:37: required from here 77 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::Matrix; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::Matrix; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::Matrix; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:478:32: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::mean() const [with Derived = Eigen::Matrix; typename Eigen::internal::traits::Scalar = double]’ 478 | return Scalar(derived().redux(Eigen::internal::scalar_sum_op())) / Scalar(this->size()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/variance.hpp:25:53: required from here 25 | vector_d diff = dtrs_vals.array() - dtrs_vals.mean(); | ~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::Matrix, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::Matrix >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/optimization/bfgs.hpp:191:25: required from ‘int stan::optimization::BFGSMinimizer::step() [with FunctorType = stan::optimization::ModelAdaptor; QNUpdateType = stan::optimization::LBFGSUpdate<>; Scalar = double; int DimAtCompile = -1]’ 191 | _pk.noalias() = -_gk; | ^~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:120:21: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 120 | ret = lbfgs.step(); | ~~~~~~~~~~^~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from ‘class Eigen::CwiseUnaryViewImpl, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 58 | class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:386:38: required from ‘auto stan::io::deserializer::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = Eigen::Matrix, -1, 1>; bool Jacobian = true; LB = int; LP = stan::math::var_value; Sizes = {int}; T = stan::math::var_value]’ 386 | return stan::math::lb_constrain(this->read(sizes...), lb, lp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:380:70: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 379 | sigma_grp = in__.template read_constrain_lb< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | Eigen::Matrix, jacobian__>(0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 381 | lp__, n_y); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:386:38: required from ‘auto stan::io::deserializer::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = Eigen::Matrix, -1, 1>; bool Jacobian = true; LB = int; LP = stan::math::var_value; Sizes = {int}; T = stan::math::var_value]’ 386 | return stan::math::lb_constrain(this->read(sizes...), lb, lp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:380:70: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 379 | sigma_grp = in__.template read_constrain_lb< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | Eigen::Matrix, jacobian__>(0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 381 | lp__, n_y); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/lb_constrain.hpp:192:54: required from ‘auto stan::math::lb_constrain(const T&, const L&, stan::return_type_t&) [with T = Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >; L = int; stan::require_matrix_t* = 0; stan::require_stan_scalar_t* = 0; stan::require_any_st_var* = 0; stan::return_type_t = var_value]’ 192 | auto exp_x = to_arena(arena_x.val().array().exp()); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:386:38: required from ‘auto stan::io::deserializer::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = Eigen::Matrix, -1, 1>; bool Jacobian = true; LB = int; LP = stan::math::var_value; Sizes = {int}; T = stan::math::var_value]’ 386 | return stan::math::lb_constrain(this->read(sizes...), lb, lp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:380:70: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 379 | sigma_grp = in__.template read_constrain_lb< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | Eigen::Matrix, jacobian__>(0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 381 | lp__, n_y); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/lb_constrain.hpp:193:37: required from ‘auto stan::math::lb_constrain(const T&, const L&, stan::return_type_t&) [with T = Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >; L = int; stan::require_matrix_t* = 0; stan::require_stan_scalar_t* = 0; stan::require_any_st_var* = 0; stan::return_type_t = var_value]’ 193 | arena_t ret = exp_x + lb_val; | ~~~~~~^~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:386:38: required from ‘auto stan::io::deserializer::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = Eigen::Matrix, -1, 1>; bool Jacobian = true; LB = int; LP = stan::math::var_value; Sizes = {int}; T = stan::math::var_value]’ 386 | return stan::math::lb_constrain(this->read(sizes...), lb, lp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:380:70: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 379 | sigma_grp = in__.template read_constrain_lb< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | Eigen::Matrix, jacobian__>(0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 381 | lp__, n_y); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from ‘class Eigen::CwiseUnaryViewImpl, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 58 | class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:386:38: required from ‘auto stan::io::deserializer::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = Eigen::Matrix, -1, 1>; bool Jacobian = true; LB = int; LP = stan::math::var_value; Sizes = {int}; T = stan::math::var_value]’ 386 | return stan::math::lb_constrain(this->read(sizes...), lb, lp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:380:70: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 379 | sigma_grp = in__.template read_constrain_lb< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | Eigen::Matrix, jacobian__>(0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 381 | lp__, n_y); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:386:38: required from ‘auto stan::io::deserializer::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = Eigen::Matrix, -1, 1>; bool Jacobian = true; LB = int; LP = stan::math::var_value; Sizes = {int}; T = stan::math::var_value]’ 386 | return stan::math::lb_constrain(this->read(sizes...), lb, lp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:380:70: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 379 | sigma_grp = in__.template read_constrain_lb< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | Eigen::Matrix, jacobian__>(0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 381 | lp__, n_y); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/lb_constrain.hpp:197:56: required from ‘auto stan::math::lb_constrain(const T&, const L&, stan::return_type_t&) [with T = Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >; L = int; stan::require_matrix_t* = 0; stan::require_stan_scalar_t* = 0; stan::require_any_st_var* = 0; stan::return_type_t = var_value]’ 197 | arena_x.adj().array() += ret.adj().array() * exp_x + lp.adj(); | ~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:386:38: required from ‘auto stan::io::deserializer::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = Eigen::Matrix, -1, 1>; bool Jacobian = true; LB = int; LP = stan::math::var_value; Sizes = {int}; T = stan::math::var_value]’ 386 | return stan::math::lb_constrain(this->read(sizes...), lb, lp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:380:70: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 379 | sigma_grp = in__.template read_constrain_lb< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | Eigen::Matrix, jacobian__>(0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 381 | lp__, n_y); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/lb_constrain.hpp:197:64: required from ‘auto stan::math::lb_constrain(const T&, const L&, stan::return_type_t&) [with T = Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >; L = int; stan::require_matrix_t* = 0; stan::require_stan_scalar_t* = 0; stan::require_any_st_var* = 0; stan::return_type_t = var_value]’ 197 | arena_x.adj().array() += ret.adj().array() * exp_x + lp.adj(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:386:38: required from ‘auto stan::io::deserializer::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = Eigen::Matrix, -1, 1>; bool Jacobian = true; LB = int; LP = stan::math::var_value; Sizes = {int}; T = stan::math::var_value]’ 386 | return stan::math::lb_constrain(this->read(sizes...), lb, lp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:380:70: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 379 | sigma_grp = in__.template read_constrain_lb< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | Eigen::Matrix, jacobian__>(0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 381 | lp__, n_y); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/value_of.hpp:75:27: required from ‘stan::math::value_of, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&):: [with auto:12 = const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >]’ 75 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:386:38: required from ‘auto stan::io::deserializer::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = Eigen::Matrix, -1, 1>; bool Jacobian = true; LB = int; LP = stan::math::var_value; Sizes = {int}; T = stan::math::var_value]’ 386 | return stan::math::lb_constrain(this->read(sizes...), lb, lp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:380:70: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 379 | sigma_grp = in__.template read_constrain_lb< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | Eigen::Matrix, jacobian__>(0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 381 | lp__, n_y); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/lb_constrain.hpp:213:52: required from ‘auto stan::math::lb_constrain(const T&, const L&, stan::return_type_t&) [with T = Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >; L = int; stan::require_matrix_t* = 0; stan::require_stan_scalar_t* = 0; stan::require_any_st_var* = 0; stan::return_type_t = var_value]’ 213 | arena_t ret = value_of(x_ref).array().exp() + lb_val; | ~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:386:38: required from ‘auto stan::io::deserializer::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = Eigen::Matrix, -1, 1>; bool Jacobian = true; LB = int; LP = stan::math::var_value; Sizes = {int}; T = stan::math::var_value]’ 386 | return stan::math::lb_constrain(this->read(sizes...), lb, lp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:380:70: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 379 | sigma_grp = in__.template read_constrain_lb< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | Eigen::Matrix, jacobian__>(0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 381 | lp__, n_y); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/lb_constrain.hpp:213:58: required from ‘auto stan::math::lb_constrain(const T&, const L&, stan::return_type_t&) [with T = Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >; L = int; stan::require_matrix_t* = 0; stan::require_stan_scalar_t* = 0; stan::require_any_st_var* = 0; stan::return_type_t = var_value]’ 213 | arena_t ret = value_of(x_ref).array().exp() + lb_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:386:38: required from ‘auto stan::io::deserializer::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = Eigen::Matrix, -1, 1>; bool Jacobian = true; LB = int; LP = stan::math::var_value; Sizes = {int}; T = stan::math::var_value]’ 386 | return stan::math::lb_constrain(this->read(sizes...), lb, lp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:380:70: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 379 | sigma_grp = in__.template read_constrain_lb< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | Eigen::Matrix, jacobian__>(0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 381 | lp__, n_y); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/lb_constrain.hpp:213:61: required from ‘auto stan::math::lb_constrain(const T&, const L&, stan::return_type_t&) [with T = Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >; L = int; stan::require_matrix_t* = 0; stan::require_stan_scalar_t* = 0; stan::require_any_st_var* = 0; stan::return_type_t = var_value]’ 213 | arena_t ret = value_of(x_ref).array().exp() + lb_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/deserializer.hpp:386:38: required from ‘auto stan::io::deserializer::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = Eigen::Matrix, -1, 1>; bool Jacobian = true; LB = int; LP = stan::math::var_value; Sizes = {int}; T = stan::math::var_value]’ 386 | return stan::math::lb_constrain(this->read(sizes...), lb, lp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:380:70: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 379 | sigma_grp = in__.template read_constrain_lb< | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | Eigen::Matrix, jacobian__>(0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 381 | lp__, n_y); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1>, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/value_of.hpp:75:27: required from ‘stan::math::value_of, -1, -1>&>(const Eigen::Matrix, -1, -1>&):: [with auto:12 = const Eigen::Matrix, -1, -1>]’ 75 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:29:71: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 29 | using inner_ret_type = decltype(value_of(m1).asDiagonal() * value_of(m2)); | ~~~~~~~~^~~~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>&>(const Eigen::Matrix, -1, 1>&)::::, const Eigen::Matrix, -1, 1> > >, Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> >, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>&>(const Eigen::Matrix, -1, 1>&)::::, const Eigen::Matrix, -1, 1> > >, Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> >, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>&>(const Eigen::Matrix, -1, 1>&)::::, const Eigen::Matrix, -1, 1> > >, Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> >, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, 1>&>(const Eigen::Matrix, -1, 1>&)::::, const Eigen::Matrix, -1, 1> > >, Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> >, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, 1>&>(const Eigen::Matrix, -1, 1>&)::::, const Eigen::Matrix, -1, 1> > >, Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> >, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, 1>&>(const Eigen::Matrix, -1, 1>&)::::, const Eigen::Matrix, -1, 1> > >, Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> >, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_var_matrix.hpp:80:65: required from ‘struct stan::is_any_var_matrix, -1, 1>&>(const Eigen::Matrix, -1, 1>&)::::, const Eigen::Matrix, -1, 1, 0, -1, 1> > >, Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1, 0, -1, -1> >, 1>, Eigen::Matrix, -1, 1, 0, -1, 1>, Eigen::Matrix, -1, -1, 0, -1, -1> >’ 80 | : bool_constant...>::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:46: required by substitution of ‘template using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix::value), stan::math::var_value::type>::type, void>::type>, typename stan::math::promote_scalar_type, typename std::decay::type>::type, void>::type> [with ReturnType = const Eigen::Product, -1, 1>&>(const Eigen::Matrix, -1, 1>&)::::, const Eigen::Matrix, -1, 1> > >, Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> >, 1>; Types = {Eigen::Matrix, -1, 1, 0, -1, 1>, Eigen::Matrix, -1, -1, 0, -1, -1>}]’ 23 | is_any_var_matrix::value, | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:30:9: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 30 | using ret_type = return_var_matrix_t; | ^~~~~~~~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:34:69: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 34 | arena_t ret(arena_m1.val().asDiagonal() * arena_m2.val()); | ~~~~~~~~~~~~^~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:34:55: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 34 | arena_t ret(arena_m1.val().asDiagonal() * arena_m2.val()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:36:52: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 36 | arena_m1.adj() += arena_m2.val().cwiseProduct(ret.adj()).rowwise().sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::internal::member_sum, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::internal::member_sum, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::internal::member_sum, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:56:7: required from ‘class Eigen::PartialReduxExpr, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::internal::member_sum, 1>’ 56 | class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr >::type, | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:36:77: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 36 | arena_m1.adj() += arena_m2.val().cwiseProduct(ret.adj()).rowwise().sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:37:53: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 37 | arena_m2.adj() += arena_m1.val().asDiagonal() * ret.adj(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:43:55: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 43 | arena_t ret(arena_m1.val().asDiagonal() * arena_m2); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:45:37: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 45 | arena_m1.adj() += arena_m2.val().cwiseProduct(ret.adj()).rowwise().sum(); | ~~~~~~~~~~~~^~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:45:52: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 45 | arena_m1.adj() += arena_m2.val().cwiseProduct(ret.adj()).rowwise().sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::internal::member_sum, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::internal::member_sum, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::internal::member_sum, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:56:7: required from ‘class Eigen::PartialReduxExpr, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::internal::member_sum, 1>’ 56 | class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr >::type, | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:45:77: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 45 | arena_m1.adj() += arena_m2.val().cwiseProduct(ret.adj()).rowwise().sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:51:49: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 51 | arena_t ret(arena_m1.asDiagonal() * arena_m2.val()); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:53:37: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 53 | arena_m2.adj() += arena_m1.val().asDiagonal() * ret.adj(); | ~~~~~~~~~~~~^~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > > >, Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:53:53: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 53 | arena_m2.adj() += arena_m1.val().asDiagonal() * ret.adj(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:35:44: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 35 | auto arena_B_val = to_arena(arena_B.val()); | ~~~~~~~~~~~^~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, 5>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_var_matrix.hpp:80:65: required from ‘struct stan::is_any_var_matrix, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 1, -1, 1, 1, -1> >’ 80 | : bool_constant...>::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:46: required by substitution of ‘template using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix::value), stan::math::var_value::type>::type, void>::type>, typename stan::math::promote_scalar_type, typename std::decay::type>::type, void>::type> [with ReturnType = const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>; Types = {Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 1, -1, 1, 1, -1>}]’ 23 | is_any_var_matrix::value, | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:36:11: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 36 | using return_t | ^~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:40: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~^~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:66: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~~~~~~~~^~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:43: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:24: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~^~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:51: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~~~~~~~~^~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:54: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:38: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:54: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1>&>(const Eigen::Matrix, 1, -1>&)::::, const Eigen::Matrix, 1, -1> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1>&>(const Eigen::Matrix, 1, -1>&)::::, const Eigen::Matrix, 1, -1> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1>&>(const Eigen::Matrix, 1, -1>&)::::, const Eigen::Matrix, 1, -1> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, 1, -1>&>(const Eigen::Matrix, 1, -1>&)::::, const Eigen::Matrix, 1, -1>, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, 1, -1>&>(const Eigen::Matrix, 1, -1>&)::::, const Eigen::Matrix, 1, -1> >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/value_of.hpp:75:27: required from ‘stan::math::value_of, 1, -1>&>(const Eigen::Matrix, 1, -1>&):: [with auto:12 = const Eigen::Matrix, 1, -1>]’ 75 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:56:58: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 56 | = return_var_matrix_t; | ~~~~~~~~^~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:53: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~~~~~~~^~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0, 5>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1> >&>(arena_matrix, -1, 1> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1> >&>(arena_matrix, -1, 1> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1> >&>(arena_matrix, -1, 1> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, 1> >&>(arena_matrix, -1, 1> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, 1> >&>(arena_matrix, -1, 1> >&)::::, const Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/value_of.hpp:75:27: required from ‘stan::math::value_of, -1, 1> >&>(arena_matrix, -1, 1> >&):: [with auto:12 = stan::math::arena_matrix, -1, 1> >]’ 75 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:66:48: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 66 | = return_var_matrix_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, 5>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_var_matrix.hpp:80:65: required from ‘struct stan::is_any_var_matrix, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 1, -1, 1, 1, -1> >’ 80 | : bool_constant...>::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:46: required by substitution of ‘template using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix::value), stan::math::var_value::type>::type, void>::type>, typename stan::math::promote_scalar_type, typename std::decay::type>::type, void>::type> [with ReturnType = const Eigen::Product, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>; Types = {Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 1, -1, 1, 1, -1>}]’ 23 | is_any_var_matrix::value, | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:65:11: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 65 | using return_t | ^~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:43: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~^~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, 5>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:43: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:54: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:54: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:53: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~~~~~~~^~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, void>&>(arena_matrix, -1, -1>, void>&)::::, const Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, void>&>(arena_matrix, -1, -1>, void>&)::::, const Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, void>&>(arena_matrix, -1, -1>, void>&)::::, const Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, -1>, void>&>(arena_matrix, -1, -1>, void>&)::::, const Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, -1>, void>&>(arena_matrix, -1, -1>, void>&)::::, const Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/value_of.hpp:75:27: required from ‘stan::math::value_of, -1, -1>, void>&>(arena_matrix, -1, -1>, void>&):: [with auto:12 = stan::math::arena_matrix, -1, -1>, void>]’ 75 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:66:48: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 66 | = return_var_matrix_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_var_matrix.hpp:80:65: required from ‘struct stan::is_any_var_matrix, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, -1, -1, 0, -1, -1> >’ 80 | : bool_constant...>::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:46: required by substitution of ‘template using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix::value), stan::math::var_value::type>::type, void>::type>, typename stan::math::promote_scalar_type, typename std::decay::type>::type, void>::type> [with ReturnType = const Eigen::Product, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>; Types = {Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, -1, -1, 0, -1, -1>}]’ 23 | is_any_var_matrix::value, | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:65:11: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 65 | using return_t | ^~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1>, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:113:37: required from ‘auto stan::math::add(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix, -1, -1>; VarMat2 = Eigen::Matrix, -1, -1>; stan::require_all_rev_matrix_t* = 0]’ 113 | using op_ret_type = decltype(a.val() + b.val()); | ~~~~~^~ stanExports_multinom.h:412:28: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_var_matrix.hpp:80:65: required from ‘struct stan::is_any_var_matrix, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1, 0, -1, -1> > >, Eigen::Matrix, -1, -1, 0, -1, -1>, Eigen::Matrix, -1, -1, 0, -1, -1> >’ 80 | : bool_constant...>::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:46: required by substitution of ‘template using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix::value), stan::math::var_value::type>::type, void>::type>, typename stan::math::promote_scalar_type, typename std::decay::type>::type, void>::type> [with ReturnType = const Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> > >; Types = {Eigen::Matrix, -1, -1, 0, -1, -1>, Eigen::Matrix, -1, -1, 0, -1, -1>}]’ 23 | is_any_var_matrix::value, | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:114:9: required from ‘auto stan::math::add(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix, -1, -1>; VarMat2 = Eigen::Matrix, -1, -1>; stan::require_all_rev_matrix_t* = 0]’ 114 | using ret_type = return_var_matrix_t; | ^~~~~~~~ stanExports_multinom.h:412:28: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:117:39: required from ‘auto stan::math::add(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix, -1, -1>; VarMat2 = Eigen::Matrix, -1, -1>; stan::require_all_rev_matrix_t* = 0]’ 117 | arena_t ret(arena_a.val() + arena_b.val()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ stanExports_multinom.h:412:28: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1> >&>(const Eigen::Transpose, -1, -1> >&)::::, const Eigen::Transpose, -1, -1> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1> >&>(const Eigen::Transpose, -1, -1> >&)::::, const Eigen::Transpose, -1, -1> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1> >&>(const Eigen::Transpose, -1, -1> >&)::::, const Eigen::Transpose, -1, -1> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, -1> >&>(const Eigen::Transpose, -1, -1> >&)::::, const Eigen::Transpose, -1, -1> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, -1> >&>(const Eigen::Transpose, -1, -1> >&)::::, const Eigen::Transpose, -1, -1> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/value_of.hpp:75:27: required from ‘stan::math::value_of, -1, -1> >&>(const Eigen::Transpose, -1, -1> >&):: [with auto:12 = const Eigen::Transpose, -1, -1> >]’ 75 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:56:58: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, -1>; T2 = Eigen::Transpose, -1, -1> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 56 | = return_var_matrix_t; | ~~~~~~~~^~~ stanExports_multinom.h:415:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 415 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ 416 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 417 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_var_matrix.hpp:80:65: required from ‘struct stan::is_any_var_matrix, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, Eigen::Matrix, -1, -1, 0, -1, -1>, Eigen::Transpose, -1, -1, 0, -1, -1> > >’ 80 | : bool_constant...>::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:46: required by substitution of ‘template using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix::value), stan::math::var_value::type>::type, void>::type>, typename stan::math::promote_scalar_type, typename std::decay::type>::type, void>::type> [with ReturnType = const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>; Types = {Eigen::Matrix, -1, -1, 0, -1, -1>, Eigen::Transpose, -1, -1, 0, -1, -1> >}]’ 23 | is_any_var_matrix::value, | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:55:11: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, -1>; T2 = Eigen::Transpose, -1, -1> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 55 | using return_t | ^~~~~~~~ stanExports_multinom.h:415:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 415 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ 416 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 417 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1> > >::val_Op, const Eigen::Transpose, -1, -1> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1> > >::val_Op, const Eigen::Transpose, -1, -1> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1> > >::val_Op, const Eigen::Transpose, -1, -1> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, -1> > >::val_Op, const Eigen::Transpose, -1, -1> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, -1> > >::val_Op, const Eigen::Transpose, -1, -1> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:113:47: required from ‘auto stan::math::add(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix, -1, -1>; VarMat2 = Eigen::Transpose, -1, -1> >; stan::require_all_rev_matrix_t* = 0]’ 113 | using op_ret_type = decltype(a.val() + b.val()); | ~~~~~^~ stanExports_multinom.h:411:26: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 411 | stan::math::add( | ~~~~~~~~~~~~~~~^ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 414 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 415 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 416 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 417 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, -1> > >::val_Op, const Eigen::Transpose, -1, -1> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, -1> > >::val_Op, const Eigen::Transpose, -1, -1> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, -1> > >::val_Op, const Eigen::Transpose, -1, -1> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, -1> > >::val_Op, const Eigen::Transpose, -1, -1> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, -1> > >::val_Op, const Eigen::Transpose, -1, -1> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_var_matrix.hpp:80:65: required from ‘struct stan::is_any_var_matrix, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp, -1, -1> > >::val_Op, const Eigen::Transpose, -1, -1, 0, -1, -1> > > >, Eigen::Matrix, -1, -1, 0, -1, -1>, Eigen::Transpose, -1, -1, 0, -1, -1> > >’ 80 | : bool_constant...>::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:46: required by substitution of ‘template using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix::value), stan::math::var_value::type>::type, void>::type>, typename stan::math::promote_scalar_type, typename std::decay::type>::type, void>::type> [with ReturnType = const Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, -1> > >::val_Op, const Eigen::Transpose, -1, -1> > > >; Types = {Eigen::Matrix, -1, -1, 0, -1, -1>, Eigen::Transpose, -1, -1, 0, -1, -1> >}]’ 23 | is_any_var_matrix::value, | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:114:9: required from ‘auto stan::math::add(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix, -1, -1>; VarMat2 = Eigen::Transpose, -1, -1> >; stan::require_all_rev_matrix_t* = 0]’ 114 | using ret_type = return_var_matrix_t; | ^~~~~~~~ stanExports_multinom.h:411:26: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 411 | stan::math::add( | ~~~~~~~~~~~~~~~^ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 414 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 415 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 416 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 417 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:117:52: required from ‘auto stan::math::add(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix, -1, -1>; VarMat2 = Eigen::Transpose, -1, -1> >; stan::require_all_rev_matrix_t* = 0]’ 117 | arena_t ret(arena_a.val() + arena_b.val()); | ~~~~~~~~~~~^~ stanExports_multinom.h:411:26: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 411 | stan::math::add( | ~~~~~~~~~~~~~~~^ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 414 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 415 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 416 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 417 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:117:39: required from ‘auto stan::math::add(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix, -1, -1>; VarMat2 = Eigen::Transpose, -1, -1> >; stan::require_all_rev_matrix_t* = 0]’ 117 | arena_t ret(arena_a.val() + arena_b.val()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ stanExports_multinom.h:411:26: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 411 | stan::math::add( | ~~~~~~~~~~~~~~~^ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 414 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 415 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 416 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 417 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:123:20: required from ‘auto stan::math::add(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix, -1, -1>; VarMat2 = Eigen::Transpose, -1, -1> >; stan::require_all_rev_matrix_t* = 0]’ 123 | arena_b.adj().coeffRef(i, j) += ref_adj; | ~~~~~~~~~~~^~ stanExports_multinom.h:411:26: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 411 | stan::math::add( | ~~~~~~~~~~~~~~~^ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 414 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 415 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 416 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 417 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_var_matrix.hpp:80:65: required from ‘struct stan::is_any_var_matrix, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1, 0, -1, -1> >, Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 80 | : bool_constant...>::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:46: required by substitution of ‘template using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix::value), stan::math::var_value::type>::type, void>::type>, typename stan::math::promote_scalar_type, typename std::decay::type>::type, void>::type> [with ReturnType = const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>; Types = {Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1, 0, -1, -1> >, Eigen::Map, 0, Eigen::Stride<0, 0> >}]’ 23 | is_any_var_matrix::value, | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:36:11: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 36 | using return_t | ^~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:40: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~^~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, 5>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:43: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:54: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, 5>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:38: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:54: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >&>(const Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >&)::::, const Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >&>(const Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >&)::::, const Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >&>(const Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >&)::::, const Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >&>(const Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >&)::::, const Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >&>(const Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >&)::::, const Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/value_of.hpp:75:27: required from ‘stan::math::value_of, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >&>(const Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >&):: [with auto:12 = const Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >]’ 75 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:53:61: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 53 | arena_t> arena_A = value_of(A); | ~~~~~~~~^~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_var_matrix.hpp:80:65: required from ‘struct stan::is_any_var_matrix, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1, 0, -1, -1> >, Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 80 | : bool_constant...>::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:46: required by substitution of ‘template using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix::value), stan::math::var_value::type>::type, void>::type>, typename stan::math::promote_scalar_type, typename std::decay::type>::type, void>::type> [with ReturnType = const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>; Types = {Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1, 0, -1, -1> >, Eigen::Map, 0, Eigen::Stride<0, 0> >}]’ 23 | is_any_var_matrix::value, | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:55:11: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 55 | using return_t | ^~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_var_matrix.hpp:80:65: required from ‘struct stan::is_any_var_matrix, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1, 0, -1, -1> >, Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 80 | : bool_constant...>::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:46: required by substitution of ‘template using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix::value), stan::math::var_value::type>::type, void>::type>, typename stan::math::promote_scalar_type, typename std::decay::type>::type, void>::type> [with ReturnType = const Eigen::Product, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>; Types = {Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1, 0, -1, -1> >, Eigen::Map, 0, Eigen::Stride<0, 0> >}]’ 23 | is_any_var_matrix::value, | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:65:11: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 65 | using return_t | ^~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> >::val_Op, const Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> >::val_Op, const Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> >::val_Op, const Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> >::val_Op, const Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1>, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> >::val_Op, const Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:120:47: required from ‘auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix, -1, -1>; VarMat2 = Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1>; stan::require_all_rev_matrix_t* = 0]’ 120 | using op_ret_type = decltype(a.val() - b.val()); | ~~~~~^~ stanExports_multinom.h:421:31: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 421 | stan::math::subtract(linpred, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 422 | stan::math::rep_matrix( | ~~~~~~~~~~~~~~~~~~~~~~~ 423 | stan::math::log( | ~~~~~~~~~~~~~~~~ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> >::val_Op, const Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> >::val_Op, const Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> >::val_Op, const Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> >::val_Op, const Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> >::val_Op, const Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_var_matrix.hpp:80:65: required from ‘struct stan::is_any_var_matrix, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> >::val_Op, const Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1, 0, -1, 1> >, -1, -1> > >, Eigen::Matrix, -1, -1, 0, -1, -1>, Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1, 0, -1, 1> >, -1, -1> >’ 80 | : bool_constant...>::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:46: required by substitution of ‘template using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix::value), stan::math::var_value::type>::type, void>::type>, typename stan::math::promote_scalar_type, typename std::decay::type>::type, void>::type> [with ReturnType = const Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryOp, -1, -1> >::val_Op, const Eigen::Matrix, -1, -1> >, const Eigen::CwiseUnaryOp, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> >::val_Op, const Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1> > >; Types = {Eigen::Matrix, -1, -1, 0, -1, -1>, Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1, 0, -1, 1> >, -1, -1>}]’ 23 | is_any_var_matrix::value, | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:121:9: required from ‘auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix, -1, -1>; VarMat2 = Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1>; stan::require_all_rev_matrix_t* = 0]’ 121 | using ret_type = return_var_matrix_t; | ^~~~~~~~ stanExports_multinom.h:421:31: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 421 | stan::math::subtract(linpred, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 422 | stan::math::rep_matrix( | ~~~~~~~~~~~~~~~~~~~~~~~ 423 | stan::math::log( | ~~~~~~~~~~~~~~~~ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:124:40: required from ‘auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix, -1, -1>; VarMat2 = Eigen::Replicate, -1, 1>, void>::apply(const Eigen::Matrix, -1, 1>&)::, const Eigen::Matrix, -1, 1> >, -1, -1>; stan::require_all_rev_matrix_t* = 0]’ 124 | arena_t ret((arena_a.val() - arena_b.val())); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ stanExports_multinom.h:421:31: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 421 | stan::math::subtract(linpred, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 422 | stan::math::rep_matrix( | ~~~~~~~~~~~~~~~~~~~~~~~ 423 | stan::math::log( | ~~~~~~~~~~~~~~~~ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_var_matrix.hpp:80:65: required from ‘struct stan::is_any_var_matrix, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1, 0, -1, -1> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, -1, -1, 0, -1, -1> >’ 80 | : bool_constant...>::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:46: required by substitution of ‘template using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix::value), stan::math::var_value::type>::type, void>::type>, typename stan::math::promote_scalar_type, typename std::decay::type>::type, void>::type> [with ReturnType = const Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp, -1, -1>&>(const Eigen::Matrix, -1, -1>&)::::, const Eigen::Matrix, -1, -1> > >; Types = {Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, -1, -1, 0, -1, -1>}]’ 23 | is_any_var_matrix::value, | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:31:9: required from ‘auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_any_rev_matrix_t* = 0]’ 31 | using ret_type = return_var_matrix_t; | ^~~~~~~~ stanExports_multinom.h:431:52: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:35:54: required from ‘auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_any_rev_matrix_t* = 0]’ 35 | arena_t ret(arena_m1.val().cwiseProduct(arena_m2.val())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ stanExports_multinom.h:431:52: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:49:54: required from ‘auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_any_rev_matrix_t* = 0]’ 49 | arena_t ret(arena_m1.val().cwiseProduct(arena_m2)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ stanExports_multinom.h:431:52: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:51:27: required from ‘auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_any_rev_matrix_t* = 0]’ 51 | arena_m1.adj().array() += arena_m2.array() * ret.adj().array(); | ~~~~~~~~~~~~~~~~~~~~^~ stanExports_multinom.h:431:52: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:51:50: required from ‘auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_any_rev_matrix_t* = 0]’ 51 | arena_m1.adj().array() += arena_m2.array() * ret.adj().array(); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:431:52: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:57:48: required from ‘auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_any_rev_matrix_t* = 0]’ 57 | arena_t ret(arena_m1.cwiseProduct(arena_m2.val())); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ stanExports_multinom.h:431:52: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_var_matrix.hpp:80:65: required from ‘struct stan::is_any_var_matrix, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, -1, -1, 0, -1, -1> >’ 80 | : bool_constant...>::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:46: required by substitution of ‘template using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix::value), stan::math::var_value::type>::type, void>::type>, typename stan::math::promote_scalar_type, typename std::decay::type>::type, void>::type> [with ReturnType = const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>; Types = {Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, -1, -1, 0, -1, -1>}]’ 23 | is_any_var_matrix::value, | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:36:11: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 36 | using return_t | ^~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:40: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~^~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:43: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0, 5>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:54: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:38: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0, 5>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:54: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_var_matrix.hpp:80:65: required from ‘struct stan::is_any_var_matrix, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, -1, -1, 0, -1, -1> >’ 80 | : bool_constant...>::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:46: required by substitution of ‘template using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix::value), stan::math::var_value::type>::type, void>::type>, typename stan::math::promote_scalar_type, typename std::decay::type>::type, void>::type> [with ReturnType = const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>; Types = {Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, -1, -1, 0, -1, -1>}]’ 23 | is_any_var_matrix::value, | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:55:11: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 55 | using return_t | ^~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1>, void>&>(arena_matrix, 1, -1>, void>&)::::, const Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1>, void>&>(arena_matrix, 1, -1>, void>&)::::, const Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1>, void>&>(arena_matrix, 1, -1>, void>&)::::, const Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, 1, -1>, void>&>(arena_matrix, 1, -1>, void>&)::::, const Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, 1, -1>, void>&>(arena_matrix, 1, -1>, void>&)::::, const Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/value_of.hpp:75:27: required from ‘stan::math::value_of, 1, -1>, void>&>(arena_matrix, 1, -1>, void>&):: [with auto:12 = stan::math::arena_matrix, 1, -1>, void>]’ 75 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:66:48: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 66 | = return_var_matrix_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 29 | = decltype(f(std::declval *>()))::value | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/is_var_matrix.hpp:80:65: required from ‘struct stan::is_any_var_matrix, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, -1, -1, 0, -1, -1> >’ 80 | : bool_constant...>::value> {}; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:46: required by substitution of ‘template using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix::value), stan::math::var_value::type>::type, void>::type>, typename stan::math::promote_scalar_type, typename std::decay::type>::type, void>::type> [with ReturnType = const Eigen::Product, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>; Types = {Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, -1, -1, 0, -1, -1>}]’ 23 | is_any_var_matrix::value, | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:65:11: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 65 | using return_t | ^~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:7, from /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing.hpp:13, from /usr/local/lib/R/library/StanHeaders/include/src/stan/model/model_header.hpp:13: /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp: In instantiation of ‘stan::plain_type_t stan::model::rvalue(EigMat&&, const char*, const index_multi&) [with EigMat = Eigen::Matrix&; stan::require_eigen_dense_dynamic_t* = 0; stan::plain_type_t = Eigen::Matrix]’: stanExports_multinom.h:556:38: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:268:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 268 | for (int i = 0; i < idx.ns_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase&>(Eigen::Matrix&, const char*, const index_multi&)::::, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase&>(Eigen::Matrix&, const char*, const index_multi&)::::, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase&>(Eigen::Matrix&, const char*, const index_multi&)::::, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp&>(Eigen::Matrix&, const char*, const index_multi&)::::, Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:273:49: required from ‘stan::model::rvalue&>(Eigen::Matrix&, const char*, const index_multi&):: [with auto:768 = Eigen::Matrix]’ 273 | return plain_type_t::NullaryExpr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 274 | idx.ns_.size(), x_ref.cols(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | [&idx, &x_ref](Eigen::Index i, Eigen::Index j) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | return x_ref.coeff(idx.ns_[i] - 1, j); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 277 | }); | ~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: required by substitution of ‘template()((declval)()...))>* > auto stan::math::make_holder(const F&, Args&& ...) [with F = stan::model::rvalue&>(Eigen::Matrix&, const char*, const index_multi&)::; Args = {Eigen::Matrix&}; stan::require_plain_type_t()((declval)()...))>* = ]’ 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:271:33: required from ‘stan::plain_type_t stan::model::rvalue(EigMat&&, const char*, const index_multi&) [with EigMat = Eigen::Matrix&; stan::require_eigen_dense_dynamic_t* = 0; stan::plain_type_t = Eigen::Matrix]’ 271 | return stan::math::make_holder( | ~~~~~~~~~~~~~~~~~~~~~~~^ 272 | [&idx](auto& x_ref) { | ~~~~~~~~~~~~~~~~~~~~~ 273 | return plain_type_t::NullaryExpr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | idx.ns_.size(), x_ref.cols(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | [&idx, &x_ref](Eigen::Index i, Eigen::Index j) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | return x_ref.coeff(idx.ns_[i] - 1, j); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 277 | }); | ~~~ 278 | }, | ~~ 279 | stan::math::to_ref(x)); | ~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:556:38: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of ‘void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_finite >(const char*, const char*, const Eigen::Matrix&)::; T = Eigen::Matrix; Indexings = {}; stan::require_eigen_t* = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* = 0]’: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_finite.hpp:29:20: required from ‘void stan::math::check_finite(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix]’ 29 | elementwise_check([](double x) { return std::isfinite(x); }, function, name, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | y, "finite"); | ~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:35:15: required from ‘stan::return_type_t stan::math::hypergeometric_pFq(const Ta&, const Tb&, const Tz&) [with Ta = Eigen::Matrix; Tb = Eigen::Matrix; Tz = double; stan::require_all_eigen_st* = 0; stan::require_arithmetic_t* = 0; stan::return_type_t = double]’ 35 | check_finite("hypergeometric_pFq", "a", a_ref); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:189:30: required from ‘stan::return_type_t stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional; stan::require_all_arithmetic_t* = 0; stan::return_type_t = double]’ 189 | return hypergeometric_pFq(a_args, b_args, z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:190:39: required from ‘TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple]’ 190 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:57: required from ‘auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t >* = 0]’ 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 307 | precision, max_steps); | ~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:37:25: required from here 37 | = grad_2F1(a + b, 1.0, a + 1, z); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase >::Index’ {aka ‘long int’} [-Wsign-compare] 153 | for (size_t i = 0; i < x.size(); i++) { | ~~^~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of ‘void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_finite >(const char*, const char*, const Eigen::Matrix&)::; T = Eigen::Matrix; Indexings = {}; stan::require_eigen_t* = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* = 0]’: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_finite.hpp:29:20: required from ‘void stan::math::check_finite(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix]’ 29 | elementwise_check([](double x) { return std::isfinite(x); }, function, name, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | y, "finite"); | ~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:36:15: required from ‘stan::return_type_t stan::math::hypergeometric_pFq(const Ta&, const Tb&, const Tz&) [with Ta = Eigen::Matrix; Tb = Eigen::Matrix; Tz = double; stan::require_all_eigen_st* = 0; stan::require_arithmetic_t* = 0; stan::return_type_t = double]’ 36 | check_finite("hypergeometric_pFq", "b", b_ref); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:189:30: required from ‘stan::return_type_t stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional; stan::require_all_arithmetic_t* = 0; stan::return_type_t = double]’ 189 | return hypergeometric_pFq(a_args, b_args, z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:190:39: required from ‘TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple]’ 190 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:57: required from ‘auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t >* = 0]’ 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 307 | precision, max_steps); | ~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:37:25: required from here 37 | = grad_2F1(a + b, 1.0, a + 1, z); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase >::Index’ {aka ‘long int’} [-Wsign-compare] 153 | for (size_t i = 0; i < x.size(); i++) { | ~~^~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of ‘void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_not_nan >(const char*, const char*, const Eigen::Matrix&)::; T = Eigen::Matrix; Indexings = {}; stan::require_eigen_t* = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* = 0]’: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:28:20: required from ‘void stan::math::check_not_nan(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix]’ 28 | elementwise_check([](double x) { return !std::isnan(x); }, function, name, y, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | "not nan"); | ~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:39:16: required from ‘stan::return_type_t stan::math::hypergeometric_pFq(const Ta&, const Tb&, const Tz&) [with Ta = Eigen::Matrix; Tb = Eigen::Matrix; Tz = double; stan::require_all_eigen_st* = 0; stan::require_arithmetic_t* = 0; stan::return_type_t = double]’ 39 | check_not_nan("hypergeometric_pFq", "a", a_ref); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:189:30: required from ‘stan::return_type_t stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional; stan::require_all_arithmetic_t* = 0; stan::return_type_t = double]’ 189 | return hypergeometric_pFq(a_args, b_args, z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:190:39: required from ‘TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple]’ 190 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:57: required from ‘auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t >* = 0]’ 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 307 | precision, max_steps); | ~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:37:25: required from here 37 | = grad_2F1(a + b, 1.0, a + 1, z); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase >::Index’ {aka ‘long int’} [-Wsign-compare] 153 | for (size_t i = 0; i < x.size(); i++) { | ~~^~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of ‘void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_not_nan >(const char*, const char*, const Eigen::Matrix&)::; T = Eigen::Matrix; Indexings = {}; stan::require_eigen_t* = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* = 0]’: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:28:20: required from ‘void stan::math::check_not_nan(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix]’ 28 | elementwise_check([](double x) { return !std::isnan(x); }, function, name, y, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | "not nan"); | ~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:40:16: required from ‘stan::return_type_t stan::math::hypergeometric_pFq(const Ta&, const Tb&, const Tz&) [with Ta = Eigen::Matrix; Tb = Eigen::Matrix; Tz = double; stan::require_all_eigen_st* = 0; stan::require_arithmetic_t* = 0; stan::return_type_t = double]’ 40 | check_not_nan("hypergeometric_pFq", "b", b_ref); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:189:30: required from ‘stan::return_type_t stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional; stan::require_all_arithmetic_t* = 0; stan::return_type_t = double]’ 189 | return hypergeometric_pFq(a_args, b_args, z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:190:39: required from ‘TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple]’ 190 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:306:57: required from ‘auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t >* = 0]’ 306 | return internal::grad_2F1_impl(a1, a2, b1, z, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 307 | precision, max_steps); | ~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/grad_inc_beta.hpp:37:25: required from here 37 | = grad_2F1(a + b, 1.0, a + 1, z); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase >::Index’ {aka ‘long int’} [-Wsign-compare] 153 | for (size_t i = 0; i < x.size(); i++) { | ~~^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, member_sum, 1>; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; Func = Eigen::internal::scalar_max_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Matrix >, Eigen::internal::member_sum, 1> >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op; Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; typename Eigen::internal::traits::Scalar = double]’ 448 | return derived().redux(Eigen::internal::scalar_max_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::maxCoeff() const [with Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; typename Eigen::internal::traits::Scalar = double]’ 466 | return maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:49: required from here 106 | return x.cwiseAbs().rowwise().sum().maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix >, 2, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix >, 2, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix >, 2, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, const Eigen::Matrix >, 2, -1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, const Eigen::Matrix >, 2, -1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, const Eigen::Matrix >, 2, -1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:203:15: required from ‘PacketType Eigen::internal::evaluator >::packet(Eigen::Index) const [with int LoadMode = 0; PacketType = __vector(2) double; ArgType = const Eigen::CwiseUnaryOp, const Eigen::Matrix >; MemberOp = Eigen::internal::member_sum; int Direction = 1; Eigen::Index = long int]’ 203 | PanelType panel(m_arg, | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:251:78: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; Func = Eigen::internal::scalar_max_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Matrix >, Eigen::internal::member_sum, 1> >; Scalar = double]’ 251 | PacketScalar packet_res0 = eval.template packet(alignedStart); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op; Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; typename Eigen::internal::traits::Scalar = double]’ 448 | return derived().redux(Eigen::internal::scalar_max_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::maxCoeff() const [with Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; typename Eigen::internal::traits::Scalar = double]’ 466 | return maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:49: required from here 106 | return x.cwiseAbs().rowwise().sum().maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:277: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, const Eigen::Matrix >, 2, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Matrix >, 2, -1, true> >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:217:20: required from ‘PacketType Eigen::internal::evaluator >::packet(Eigen::Index) const [with int LoadMode = 0; PacketType = __vector(2) double; ArgType = const Eigen::CwiseUnaryOp, const Eigen::Matrix >; MemberOp = Eigen::internal::member_sum; int Direction = 1; Eigen::Index = long int]’ 217 | PanelEvaluator panel_eval(panel); | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:251:78: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; Func = Eigen::internal::scalar_max_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Matrix >, Eigen::internal::member_sum, 1> >; Scalar = double]’ 251 | PacketScalar packet_res0 = eval.template packet(alignedStart); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op; Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; typename Eigen::internal::traits::Scalar = double]’ 448 | return derived().redux(Eigen::internal::scalar_max_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::maxCoeff() const [with Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; typename Eigen::internal::traits::Scalar = double]’ 466 | return maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:49: required from here 106 | return x.cwiseAbs().rowwise().sum().maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix >, 1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix >, 1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix >, 1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, const Eigen::Matrix >, 1, -1, false, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, const Eigen::Matrix >, 1, -1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, const Eigen::Matrix >, 1, -1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:183:72: required from ‘const Eigen::internal::evaluator >::Scalar Eigen::internal::evaluator >::coeff(Eigen::Index) const [with ArgType = const Eigen::CwiseUnaryOp, const Eigen::Matrix >; MemberOp = Eigen::internal::member_sum; int Direction = 1; Scalar = double; Eigen::Index = long int]’ 183 | return m_functor(m_arg.template subVector(index)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:268:34: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; Func = Eigen::internal::scalar_max_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Matrix >, Eigen::internal::member_sum, 1> >; Scalar = double]’ 268 | res = func(res,eval.coeff(index)); | ~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op; Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; typename Eigen::internal::traits::Scalar = double]’ 448 | return derived().redux(Eigen::internal::scalar_max_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::maxCoeff() const [with Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; typename Eigen::internal::traits::Scalar = double]’ 466 | return maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:49: required from here 106 | return x.cwiseAbs().rowwise().sum().maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of ‘void Eigen::internal::gemm_pack_rhs::operator()(Scalar*, const DataMapper&, Index, Index, Index, Index) [with Scalar = double; Index = long int; DataMapper = Eigen::internal::const_blas_data_mapper; int nr = 4; bool Conjugate = false; bool PanelMode = false]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:100:15: required from ‘static void Eigen::internal::general_matrix_matrix_triangular_product::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking&) [with Index = long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]’ 100 | pack_rhs(blockB, rhs.getSubMapper(k2,0), actual_kc, size); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from ‘static void Eigen::selfadjoint_product_selector::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix; OtherType = Eigen::Matrix; int UpLo = 2; typename MatrixType::Scalar = double]’ 109 | internal::general_matrix_matrix_triangular_product::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | ::run(size, depth, | ~~~~~^~~~~~~~~~~~~ 114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from ‘Eigen::SelfAdjointView& Eigen::SelfAdjointView::rankUpdate(const Eigen::MatrixBase&, const Scalar&) [with DerivedU = Eigen::Matrix; _MatrixType = Eigen::Matrix; unsigned int UpLo = 2; Scalar = double]’ 126 | selfadjoint_product_selector::run(_expression().const_cast_derived(), u.derived(), alpha); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 33 | return result.setZero().template selfadjointView().rankUpdate( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 34 | M_ref); | ~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2459:62: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 2459 | PacketBlock kernel; | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of ‘void Eigen::internal::gemm_pack_lhs::operator()(Scalar*, const DataMapper&, Index, Index, Index, Index) [with Scalar = double; Index = long int; DataMapper = Eigen::internal::const_blas_data_mapper; int Pack1 = 4; int Pack2 = 2; Packet = __vector(2) double; bool Conjugate = false; bool PanelMode = false]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:106:17: required from ‘static void Eigen::internal::general_matrix_matrix_triangular_product::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking&) [with Index = long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]’ 106 | pack_lhs(blockA, lhs.getSubMapper(i2, k2), actual_kc, actual_mc); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from ‘static void Eigen::selfadjoint_product_selector::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix; OtherType = Eigen::Matrix; int UpLo = 2; typename MatrixType::Scalar = double]’ 109 | internal::general_matrix_matrix_triangular_product::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | ::run(size, depth, | ~~~~~^~~~~~~~~~~~~ 114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from ‘Eigen::SelfAdjointView& Eigen::SelfAdjointView::rankUpdate(const Eigen::MatrixBase&, const Scalar&) [with DerivedU = Eigen::Matrix; _MatrixType = Eigen::Matrix; unsigned int UpLo = 2; Scalar = double]’ 126 | selfadjoint_product_selector::run(_expression().const_cast_derived(), u.derived(), alpha); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 33 | return result.setZero().template selfadjointView().rankUpdate( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 34 | M_ref); | ~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2256:82: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] 2256 | typedef typename unpacket_traits::half>::half QuarterPacket; | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2258:56: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] 2258 | HalfPacketSize = unpacket_traits::size, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2259:62: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] 2259 | QuarterPacketSize = unpacket_traits::size, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2259:62: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2298:39: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] 2298 | PacketBlock kernel_half; | ^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2298:39: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2304:42: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] 2304 | PacketBlock kernel_quarter; | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2304:42: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2304:42: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2304:42: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of ‘void Eigen::internal::gebp_kernel::operator()(const DataMapper&, const LhsScalar*, const RhsScalar*, Index, Index, Index, ResScalar, Index, Index, Index, Index) [with LhsScalar = double; RhsScalar = double; Index = long int; DataMapper = Eigen::internal::blas_data_mapper; int mr = 4; int nr = 4; bool ConjugateLhs = false; bool ConjugateRhs = false; ResScalar = double]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:113:15: required from ‘static void Eigen::internal::general_matrix_matrix_triangular_product::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking&) [with Index = long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]’ 113 | gebp(res.getSubMapper(i2, 0), blockA, blockB, actual_mc, actual_kc, | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 | (std::min)(size,i2), alpha, -1, -1, 0, 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from ‘static void Eigen::selfadjoint_product_selector::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix; OtherType = Eigen::Matrix; int UpLo = 2; typename MatrixType::Scalar = double]’ 109 | internal::general_matrix_matrix_triangular_product::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | ::run(size, depth, | ~~~~~^~~~~~~~~~~~~ 114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from ‘Eigen::SelfAdjointView& Eigen::SelfAdjointView::rankUpdate(const Eigen::MatrixBase&, const Scalar&) [with DerivedU = Eigen::Matrix; _MatrixType = Eigen::Matrix; unsigned int UpLo = 2; Scalar = double]’ 126 | selfadjoint_product_selector::run(_expression().const_cast_derived(), u.derived(), alpha); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 33 | return result.setZero().template selfadjointView().rankUpdate( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 34 | M_ref); | ~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1920:103: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] 1920 | const int SResPacketHalfSize = unpacket_traits::half>::size; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1921:138: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] 1921 | const int SResPacketQuarterSize = unpacket_traits::half>::half>::size; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1921:138: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1977:135: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] 1977 | typedef typename conditional=8,typename unpacket_traits::half,SResPacket>::type SResPacketHalf; | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1978:135: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] 1978 | typedef typename conditional=8,typename unpacket_traits::half,SLhsPacket>::type SLhsPacketHalf; | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1979:135: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] 1979 | typedef typename conditional=8,typename unpacket_traits::half,SRhsPacket>::type SRhsPacketHalf; | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1980:135: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] 1980 | typedef typename conditional=8,typename unpacket_traits::half,SAccPacket>::type SAccPacketHalf; | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:155:52: required from ‘void Eigen::internal::tribb_kernel::operator()(ResScalar*, Index, Index, const LhsScalar*, const RhsScalar*, Index, Index, const ResScalar&) [with LhsScalar = double; RhsScalar = double; Index = long int; int mr = 4; int nr = 4; bool ConjLhs = false; bool ConjRhs = false; int ResInnerStride = 1; int UpLo = 2; ResScalar = double]’ 155 | Matrix buffer((internal::constructor_without_unaligned_array_assert())); | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:116:13: required from ‘static void Eigen::internal::general_matrix_matrix_triangular_product::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking&) [with Index = long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]’ 116 | sybb(_res+resStride*i2 + resIncr*i2, resIncr, resStride, blockA, blockB + actual_kc*i2, actual_mc, actual_kc, alpha); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from ‘static void Eigen::selfadjoint_product_selector::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix; OtherType = Eigen::Matrix; int UpLo = 2; typename MatrixType::Scalar = double]’ 109 | internal::general_matrix_matrix_triangular_product::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | ::run(size, depth, | ~~~~~^~~~~~~~~~~~~ 114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from ‘Eigen::SelfAdjointView& Eigen::SelfAdjointView::rankUpdate(const Eigen::MatrixBase&, const Scalar&) [with DerivedU = Eigen::Matrix; _MatrixType = Eigen::Matrix; unsigned int UpLo = 2; Scalar = double]’ 126 | selfadjoint_product_selector::run(_expression().const_cast_derived(), u.derived(), alpha); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 33 | return result.setZero().template selfadjointView().rankUpdate( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 34 | M_ref); | ~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:116:13: required from ‘static void Eigen::internal::general_matrix_matrix_triangular_product::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking&) [with Index = long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]’ 116 | sybb(_res+resStride*i2 + resIncr*i2, resIncr, resStride, blockA, blockB + actual_kc*i2, actual_mc, actual_kc, alpha); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from ‘static void Eigen::selfadjoint_product_selector::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix; OtherType = Eigen::Matrix; int UpLo = 2; typename MatrixType::Scalar = double]’ 109 | internal::general_matrix_matrix_triangular_product::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | ::run(size, depth, | ~~~~~^~~~~~~~~~~~~ 114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from ‘Eigen::SelfAdjointView& Eigen::SelfAdjointView::rankUpdate(const Eigen::MatrixBase&, const Scalar&) [with DerivedU = Eigen::Matrix; _MatrixType = Eigen::Matrix; unsigned int UpLo = 2; Scalar = double]’ 126 | selfadjoint_product_selector::run(_expression().const_cast_derived(), u.derived(), alpha); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 33 | return result.setZero().template selfadjointView().rankUpdate( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 34 | M_ref); | ~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseUnaryOp, const Eigen::Matrix >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseUnaryOp, const Eigen::Matrix >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Matrix > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseUnaryOp, const Eigen::Matrix >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseUnaryOp, const Eigen::Matrix >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:98:46: required from ‘typename Eigen::NumTraits::Scalar>::Real Eigen::MatrixBase::squaredNorm() const [with Derived = Eigen::Matrix; typename Eigen::NumTraits::Scalar>::Real = double; typename Eigen::internal::traits::Scalar = double]’ 98 | return numext::real((*this).cwiseAbs2().sum()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/variance.hpp:28:37: required from here 28 | double variance = diff.squaredNorm() / size_m1; | ~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Matrix, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Matrix >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/optimization/bfgs_linesearch.hpp:247:32: required from ‘int stan::optimization::WolfeLineSearch(FunctorType&, Scalar&, XType&, Scalar&, XType&, const XType&, const XType&, const Scalar&, const XType&, const Scalar&, const Scalar&, const Scalar&, const Scalar&, const Scalar&) [with FunctorType = ModelAdaptor; Scalar = double; XType = Eigen::Matrix]’ 247 | x1.noalias() = x0 + alpha1 * p; | ~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/optimization/bfgs.hpp:209:28: required from ‘int stan::optimization::BFGSMinimizer::step() [with FunctorType = stan::optimization::ModelAdaptor; QNUpdateType = stan::optimization::LBFGSUpdate<>; Scalar = double; int DimAtCompile = -1]’ 209 | = WolfeLineSearch(_func, _alpha, _xk_1, _fk_1, _gk_1, _pk, _xk, _fk, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | _gk, _ls_opts.c1, _ls_opts.c2, _ls_opts.minAlpha, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | _ls_opts.maxLSIts, _ls_opts.maxLSRestarts); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:120:21: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 120 | ret = lbfgs.step(); | ~~~~~~~~~~^~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Matrix > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Matrix > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Matrix > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Matrix >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Matrix > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/optimization/bfgs_linesearch.hpp:247:23: required from ‘int stan::optimization::WolfeLineSearch(FunctorType&, Scalar&, XType&, Scalar&, XType&, const XType&, const XType&, const Scalar&, const XType&, const Scalar&, const Scalar&, const Scalar&, const Scalar&, const Scalar&) [with FunctorType = ModelAdaptor; Scalar = double; XType = Eigen::Matrix]’ 247 | x1.noalias() = x0 + alpha1 * p; | ~~~^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/optimization/bfgs.hpp:209:28: required from ‘int stan::optimization::BFGSMinimizer::step() [with FunctorType = stan::optimization::ModelAdaptor; QNUpdateType = stan::optimization::LBFGSUpdate<>; Scalar = double; int DimAtCompile = -1]’ 209 | = WolfeLineSearch(_func, _alpha, _xk_1, _fk_1, _gk_1, _pk, _xk, _fk, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | _gk, _ls_opts.c1, _ls_opts.c2, _ls_opts.minAlpha, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | _ls_opts.maxLSIts, _ls_opts.maxLSRestarts); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:120:21: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 120 | ret = lbfgs.step(); | ~~~~~~~~~~^~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp: In instantiation of ‘stan::plain_type_t stan::model::rvalue(EigMat&&, const char*, const index_multi&) [with EigMat = Eigen::Matrix, -1, -1>&; stan::require_eigen_dense_dynamic_t* = 0; stan::plain_type_t = Eigen::Matrix, -1, -1>]’: stanExports_multinom.h:417:38: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 417 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:268:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 268 | for (int i = 0; i < idx.ns_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1> > > >(Eigen::ArrayWrapper, 1, -1> > >&&)::::, const Eigen::ArrayWrapper, 1, -1> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1> > > >(Eigen::ArrayWrapper, 1, -1> > >&&)::::, const Eigen::ArrayWrapper, 1, -1> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 1, -1> > > >(Eigen::ArrayWrapper, 1, -1> > >&&)::::, const Eigen::ArrayWrapper, 1, -1> > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, 1, -1> > > >(Eigen::ArrayWrapper, 1, -1> > >&&)::::, const Eigen::ArrayWrapper, 1, -1> > >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, 1, -1> > > >(Eigen::ArrayWrapper, 1, -1> > >&&)::::, const Eigen::ArrayWrapper, 1, -1> > > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/value_of.hpp:75:27: required from ‘stan::math::value_of, 1, -1> > > >(Eigen::ArrayWrapper, 1, -1> > >&&):: [with auto:12 = Eigen::ArrayWrapper, 1, -1> > >]’ 75 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:58:64: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, 1, -1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 58 | decltype(auto) y_val = to_ref(as_value_column_array_or_scalar(y_ref)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Array, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Array, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::Array, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Array, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:77:40: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, 1, -1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 77 | const auto& y_scaled = to_ref((y_val - mu_val) * inv_sigma); | ~~~~~~~^~~~~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:77:50: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, 1, -1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 77 | const auto& y_scaled = to_ref((y_val - mu_val) * inv_sigma); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Array, const Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Array, const Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::Array, const Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Array, const Eigen::Array, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:79:62: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, 1, -1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 79 | = to_ref_if::value>(y_scaled * y_scaled); | ~~~~~~~~~^~~~~~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:94:50: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, 1, -1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 94 | >= 2>(inv_sigma * y_scaled); | ~~~~~~~~~~^~~~~~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:96:35: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, 1, -1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 96 | partials<0>(ops_partials) = -scaled_diff; | ^~~~~~~~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:99:45: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, 1, -1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 99 | partials<2>(ops_partials) = inv_sigma * y_scaled_sq - inv_sigma; | ~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:99:59: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, 1, -1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 99 | partials<2>(ops_partials) = inv_sigma * y_scaled_sq - inv_sigma; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1> > >(Eigen::ArrayWrapper, -1, 1> >&&)::::, const Eigen::ArrayWrapper, -1, 1> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1> > >(Eigen::ArrayWrapper, -1, 1> >&&)::::, const Eigen::ArrayWrapper, -1, 1> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, -1, 1> > >(Eigen::ArrayWrapper, -1, 1> >&&)::::, const Eigen::ArrayWrapper, -1, 1> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, -1, 1> > >(Eigen::ArrayWrapper, -1, 1> >&&)::::, const Eigen::ArrayWrapper, -1, 1> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, -1, 1> > >(Eigen::ArrayWrapper, -1, 1> >&&)::::, const Eigen::ArrayWrapper, -1, 1> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/value_of.hpp:75:27: required from ‘stan::math::value_of, -1, 1> > >(Eigen::ArrayWrapper, -1, 1> >&&):: [with auto:12 = Eigen::ArrayWrapper, -1, 1> >]’ 75 | return a.unaryExpr([](const auto& scal) { return value_of(scal); }); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:58:64: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, -1, 1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 58 | decltype(auto) y_val = to_ref(as_value_column_array_or_scalar(y_ref)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ stanExports_multinom.h:436:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 436 | lp_accum__.add(stan::math::normal_lpdf( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 437 | stan::math::to_vector(beta), 0, prior_beta)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::Array, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::Array >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:66:50: required from ‘stan::math::log >(const Eigen::Array&):: [with auto:170 = Eigen::Array]’ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:53:76: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 53 | return make_holder([](const auto& a) { return a.array().derived(); }, f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:81:68: required from ‘stan::return_type_t stan::math::inv_gamma_lpdf(const T_y&, const T_shape&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, -1, 1>; T_shape = double; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 81 | = to_ref_if::value>(log(y_val)); | ~~~^~~~~~~ stanExports_multinom.h:442:60: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 442 | lp_accum__.add(stan::math::inv_gamma_lpdf(sigma_grp, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 443 | prior_sigma_shape, (prior_sigma * (prior_sigma_shape | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 444 | - 1)))); | ~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:92:65: required from ‘stan::return_type_t stan::math::inv_gamma_lpdf(const T_y&, const T_shape&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, -1, 1>; T_shape = double; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 92 | partials<1>(ops_partials) = log_beta - digamma(alpha_val) - log_y; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ stanExports_multinom.h:442:60: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 442 | lp_accum__.add(stan::math::inv_gamma_lpdf(sigma_grp, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 443 | prior_sigma_shape, (prior_sigma * (prior_sigma_shape | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 444 | - 1)))); | ~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::Array, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::Array >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/inv.hpp:55:54: required from ‘stan::math::inv >(const Eigen::Array&):: [with auto:221 = Eigen::Array]’ 55 | x, [](const auto& v) { return v.array().inverse(); }); | ~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:53:76: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 53 | return make_holder([](const auto& a) { return a.array().derived(); }, f(x)); | ~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:101:63: required from ‘stan::return_type_t stan::math::inv_gamma_lpdf(const T_y&, const T_shape&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, -1, 1>; T_shape = double; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 101 | || !is_constant_all::value)>(inv(y_val)); | ~~~^~~~~~~ stanExports_multinom.h:442:60: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 442 | lp_accum__.add(stan::math::inv_gamma_lpdf(sigma_grp, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 443 | prior_sigma_shape, (prior_sigma * (prior_sigma_shape | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 444 | - 1)))); | ~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:105:31: required from ‘stan::return_type_t stan::math::inv_gamma_lpdf(const T_y&, const T_shape&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, -1, 1>; T_shape = double; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 105 | = (beta_val * inv_y - alpha_val - 1) * inv_y; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ stanExports_multinom.h:442:60: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 442 | lp_accum__.add(stan::math::inv_gamma_lpdf(sigma_grp, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 443 | prior_sigma_shape, (prior_sigma * (prior_sigma_shape | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 444 | - 1)))); | ~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:105:43: required from ‘stan::return_type_t stan::math::inv_gamma_lpdf(const T_y&, const T_shape&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, -1, 1>; T_shape = double; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 105 | = (beta_val * inv_y - alpha_val - 1) * inv_y; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ stanExports_multinom.h:442:60: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 442 | lp_accum__.add(stan::math::inv_gamma_lpdf(sigma_grp, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 443 | prior_sigma_shape, (prior_sigma * (prior_sigma_shape | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 444 | - 1)))); | ~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::Array, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::Array >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:105:48: required from ‘stan::return_type_t stan::math::inv_gamma_lpdf(const T_y&, const T_shape&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, -1, 1>; T_shape = double; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 105 | = (beta_val * inv_y - alpha_val - 1) * inv_y; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ stanExports_multinom.h:442:60: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 442 | lp_accum__.add(stan::math::inv_gamma_lpdf(sigma_grp, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 443 | prior_sigma_shape, (prior_sigma * (prior_sigma_shape | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 444 | - 1)))); | ~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:145:43: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = double; T2 = Eigen::Matrix, -1, 1>; stan::require_not_matrix_t* = 0; stan::require_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 145 | arena_t res = arena_A.val() * arena_B.val().array(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/lkj_corr_cholesky_lpdf.hpp:48:23: required from ‘stan::return_type_t stan::math::lkj_corr_cholesky_lpdf(const T_covar&, const T_shape&) [with bool propto = true; T_covar = Eigen::Matrix, -1, -1>; T_shape = double; stan::return_type_t = var_value]’ 48 | values += multiply(2.0 * eta - 2.0, log_diagonals); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:446:68: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 446 | lp_accum__.add(stan::math::lkj_corr_cholesky_lpdf(L, 2.0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:163:40: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = double; T2 = Eigen::Matrix, -1, 1>; stan::require_not_matrix_t* = 0; stan::require_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 163 | arena_B.adj().array() += arena_A * res.adj().array(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/lkj_corr_cholesky_lpdf.hpp:48:23: required from ‘stan::return_type_t stan::math::lkj_corr_cholesky_lpdf(const T_covar&, const T_shape&) [with bool propto = true; T_covar = Eigen::Matrix, -1, -1>; T_shape = double; stan::return_type_t = var_value]’ 48 | values += multiply(2.0 * eta - 2.0, log_diagonals); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:446:68: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 446 | lp_accum__.add(stan::math::lkj_corr_cholesky_lpdf(L, 2.0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 0, Eigen::Stride<0, 0> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/lkj_corr_cholesky_lpdf.hpp:48:23: required from ‘stan::return_type_t stan::math::lkj_corr_cholesky_lpdf(const T_covar&, const T_shape&) [with bool propto = true; T_covar = Eigen::Matrix, -1, -1>; T_shape = double; stan::return_type_t = var_value]’ 48 | values += multiply(2.0 * eta - 2.0, log_diagonals); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:446:68: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 446 | lp_accum__.add(stan::math::lkj_corr_cholesky_lpdf(L, 2.0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:170:43: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = double; T2 = Eigen::Matrix, -1, 1>; stan::require_not_matrix_t* = 0; stan::require_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 170 | arena_t res = arena_A.val() * arena_B.array(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/lkj_corr_cholesky_lpdf.hpp:48:23: required from ‘stan::return_type_t stan::math::lkj_corr_cholesky_lpdf(const T_covar&, const T_shape&) [with bool propto = true; T_covar = Eigen::Matrix, -1, -1>; T_shape = double; stan::return_type_t = var_value]’ 48 | values += multiply(2.0 * eta - 2.0, log_diagonals); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:446:68: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 446 | lp_accum__.add(stan::math::lkj_corr_cholesky_lpdf(L, 2.0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:172:43: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = double; T2 = Eigen::Matrix, -1, 1>; stan::require_not_matrix_t* = 0; stan::require_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 172 | arena_A.adj() += (res.adj().array() * arena_B.array()).sum(); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/lkj_corr_cholesky_lpdf.hpp:48:23: required from ‘stan::return_type_t stan::math::lkj_corr_cholesky_lpdf(const T_covar&, const T_shape&) [with bool propto = true; T_covar = Eigen::Matrix, -1, -1>; T_shape = double; stan::return_type_t = var_value]’ 48 | values += multiply(2.0 * eta - 2.0, log_diagonals); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:446:68: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 446 | lp_accum__.add(stan::math::lkj_corr_cholesky_lpdf(L, 2.0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 28 | return m1.cwiseProduct(m2); | ~~~~~~~~~~~~~~~^~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/multiply.hpp:107:13: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 107 | return m1 * m2; | ~~~^~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Matrix, const Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Matrix, const Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Matrix, const Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Matrix, const Eigen::Matrix, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:37:44: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Matrix; U = Eigen::Matrix; bool NeedToTranspose = false; ResScalar = double]’ 37 | return a.template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from ‘typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType Eigen::MatrixBase::dot(const Eigen::MatrixBase&) const [with OtherDerived = Eigen::Matrix; Derived = Eigen::Matrix; typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType = double; typename Eigen::internal::traits::Scalar = double; typename Eigen::internal::traits::Scalar = double]’ 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/optimization/bfgs.hpp:199:45: required from ‘int stan::optimization::BFGSMinimizer::step() [with FunctorType = stan::optimization::ModelAdaptor; QNUpdateType = stan::optimization::LBFGSUpdate<>; Scalar = double; int DimAtCompile = -1]’ 199 | * CubicInterp(_gk_1.dot(_pk_1), _alphak_1, _fk - _fk_1, | ~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:120:21: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 120 | ret = lbfgs.step(); | ~~~~~~~~~~^~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from ‘class Eigen::CwiseUnaryViewImpl, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 58 | class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/accumulator.hpp:135:50: required from ‘stan::math::var stan::math::accumulator::type>::value, void>::type>::sum() const [with T = stan::math::var_value; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = stan::math::var_value; stan::math::var = stan::math::var_value]’ 135 | inline var sum() const { return stan::math::sum(buf_); } | ~~~~~~~~~~~~~~~^~~~~~ stanExports_multinom.h:452:26: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 452 | return lp_accum__.sum(); | ~~~~~~~~~~~~~~^~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:347:30: required from ‘Derived& Eigen::DenseBase::setConstant(const Scalar&) [with Derived = Eigen::Matrix; Scalar = double]’ 347 | return derived() = Constant(rows(), cols(), val); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:548:10: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 548 | return setConstant(Scalar(0)); | ^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:116:13: required from ‘static void Eigen::internal::general_matrix_matrix_triangular_product::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking&) [with Index = long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]’ 116 | sybb(_res+resStride*i2 + resIncr*i2, resIncr, resStride, blockA, blockB + actual_kc*i2, actual_mc, actual_kc, alpha); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from ‘static void Eigen::selfadjoint_product_selector::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix; OtherType = Eigen::Matrix; int UpLo = 2; typename MatrixType::Scalar = double]’ 109 | internal::general_matrix_matrix_triangular_product::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits::IsComplex, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | ::run(size, depth, | ~~~~~^~~~~~~~~~~~~ 114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from ‘Eigen::SelfAdjointView& Eigen::SelfAdjointView::rankUpdate(const Eigen::MatrixBase&, const Scalar&) [with DerivedU = Eigen::Matrix; _MatrixType = Eigen::Matrix; unsigned int UpLo = 2; Scalar = double]’ 126 | selfadjoint_product_selector::run(_expression().const_cast_derived(), u.derived(), alpha); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 33 | return result.setZero().template selfadjointView().rankUpdate( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 34 | M_ref); | ~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/as_column_vector_or_scalar.hpp:60:54: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 60 | return make_holder([](auto& x) { return x.transpose(); }, std::forward(a)); | ~~~~~~~~~~~^~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper > >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/as_array_or_scalar.hpp:57:50: required from ‘stan::math::as_array_or_scalar > >(Eigen::Transpose >&&):: [with auto:14 = Eigen::Transpose >]’ 57 | return make_holder([](auto& x) { return x.array(); }, std::forward(v)); | ~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/meta/holder.hpp:370:41: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 370 | decltype(std::declval()(std::declval()...))>* = nullptr> | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::ArrayWrapper > >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:77:40: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 77 | const auto& y_scaled = to_ref((y_val - mu_val) * inv_sigma); | ~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:77:50: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 77 | const auto& y_scaled = to_ref((y_val - mu_val) * inv_sigma); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::ArrayWrapper >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:77:50: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 77 | const auto& y_scaled = to_ref((y_val - mu_val) * inv_sigma); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:66:50: required from ‘stan::math::log > >(const Eigen::ArrayWrapper >&):: [with auto:170 = Eigen::ArrayWrapper >]’ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:53:76: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 53 | return make_holder([](const auto& a) { return a.array().derived(); }, f(x)); | ~^~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/inv.hpp:55:54: required from ‘stan::math::inv > >(const Eigen::ArrayWrapper >&):: [with auto:221 = Eigen::ArrayWrapper >]’ 55 | x, [](const auto& v) { return v.array().inverse(); }); | ~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:53:76: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 53 | return make_holder([](const auto& a) { return a.array().derived(); }, f(x)); | ~^~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:102:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 102 | logp -= sum(beta_val * inv_y) * N / max_size(y, beta); | ~~~~~~~~~^~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:105:31: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 105 | = (beta_val * inv_y - alpha_val - 1) * inv_y; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:105:43: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 105 | = (beta_val * inv_y - alpha_val - 1) * inv_y; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseNullaryOp, const Eigen::Array > >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:105:48: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 105 | = (beta_val * inv_y - alpha_val - 1) * inv_y; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:108:56: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 108 | partials<2>(ops_partials) = alpha_val / beta_val - inv_y; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>, -1, 1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0>, -1, 1, false>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0>, -1, 1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0>, -1, 1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0>, -1, 1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0>, -1, 1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>, -1, 1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0>, -1, 1, false> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0>, -1, 1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 0>, -1, 1, false> > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, 0>, -1, 1, false> >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/lkj_corr_cholesky_lpdf.hpp:39:47: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 39 | = log(L_ref.diagonal().tail(Km1).array()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper, 0>, -1, 1, false> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper, 0>, -1, 1, false> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::ArrayWrapper, 0>, -1, 1, false> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from ‘class Eigen::CwiseUnaryOpImpl, const Eigen::ArrayWrapper, 0>, -1, 1, false> >, Eigen::Dense>’ 94 | class CwiseUnaryOpImpl | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from ‘class Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper, 0>, -1, 1, false> > >’ 55 | class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/log.hpp:66:50: required from ‘stan::math::log, 0>, -1, 1, false> > >(const Eigen::ArrayWrapper, 0>, -1, 1, false> >&):: [with auto:170 = Eigen::ArrayWrapper, 0>, -1, 1, false> >]’ 66 | x, [](const auto& v) { return v.array().log(); }); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:53:76: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 53 | return make_holder([](const auto& a) { return a.array().derived(); }, f(x)); | ~^~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of ‘void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_not_nan >(const char*, const char*, const Eigen::Array&)::; T = Eigen::Array; Indexings = {}; stan::require_eigen_t* = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* = 0]’: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:28:20: required from ‘void stan::math::check_not_nan(const char*, const char*, const T_y&) [with T_y = Eigen::Array]’ 28 | elementwise_check([](double x) { return !std::isnan(x); }, function, name, y, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | "not nan"); | ~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:62:16: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, 1, -1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 62 | check_not_nan(function, "Random variable", y_val); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase >::Index’ {aka ‘long int’} [-Wsign-compare] 153 | for (size_t i = 0; i < x.size(); i++) { | ~~^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:67:16: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 67 | x.adj().array() += z.adj() * y.array(); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:105:28: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, 1, -1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 105 | return ops_partials.build(logp); | ~~~~~~~~~~~~~~~~~~^~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 0, Eigen::Stride<0, 0> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:67:39: required from ‘void stan::math::internal::update_adjoints(Matrix1&, const Matrix2&, const stan::math::var&) [with Matrix1 = stan::math::arena_matrix, 1, -1>, void>; Matrix2 = stan::math::arena_matrix, void>; stan::require_rev_matrix_t* = 0; stan::require_st_arithmetic* = 0; stan::math::var = stan::math::var_value]’ 67 | x.adj().array() += z.adj() * y.array(); | ~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:91:48: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 91 | ret]() mutable { update_adjoints(operand, partial, ret); }); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:105:28: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, 1, -1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 105 | return ops_partials.build(logp); | ~~~~~~~~~~~~~~~~~~^~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, const Eigen::Array >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from ‘struct Eigen::internal::traits, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > > >’ 38 | >::type Scalar; | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:105:28: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, 1, -1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 105 | return ops_partials.build(logp); | ~~~~~~~~~~~~~~~~~~^~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:67:30: required from ‘void stan::math::internal::update_adjoints(Matrix1&, const Matrix2&, const stan::math::var&) [with Matrix1 = stan::math::arena_matrix, 1, -1>, void>; Matrix2 = stan::math::arena_matrix, void>; stan::require_rev_matrix_t* = 0; stan::require_st_arithmetic* = 0; stan::math::var = stan::math::var_value]’ 67 | x.adj().array() += z.adj() * y.array(); | ~~~~~~~~^~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:91:48: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 91 | ret]() mutable { update_adjoints(operand, partial, ret); }); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:105:28: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, 1, -1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 105 | return ops_partials.build(logp); | ~~~~~~~~~~~~~~~~~~^~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Array.h:45:7: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 45 | class Array | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:105:28: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, 1, -1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 105 | return ops_partials.build(logp); | ~~~~~~~~~~~~~~~~~~^~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, 0, Eigen::Stride<0, 0> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from ‘class Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >’ 42 | class ArrayWrapper : public ArrayBase > | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:67:39: required from ‘void stan::math::internal::update_adjoints(Matrix1&, const Matrix2&, const stan::math::var&) [with Matrix1 = stan::math::arena_matrix, -1, 1> >; Matrix2 = stan::math::arena_matrix >; stan::require_rev_matrix_t* = 0; stan::require_st_arithmetic* = 0; stan::math::var = stan::math::var_value]’ 67 | x.adj().array() += z.adj() * y.array(); | ~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:91:48: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 91 | ret]() mutable { update_adjoints(operand, partial, ret); }); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:105:28: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, -1, 1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 105 | return ops_partials.build(logp); | ~~~~~~~~~~~~~~~~~~^~~~~~ stanExports_multinom.h:436:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 436 | lp_accum__.add(stan::math::normal_lpdf( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 437 | stan::math::to_vector(beta), 0, prior_beta)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::ArrayWrapper, 0, Eigen::Stride<0, 0> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:67:30: required from ‘void stan::math::internal::update_adjoints(Matrix1&, const Matrix2&, const stan::math::var&) [with Matrix1 = stan::math::arena_matrix, -1, 1> >; Matrix2 = stan::math::arena_matrix >; stan::require_rev_matrix_t* = 0; stan::require_st_arithmetic* = 0; stan::math::var = stan::math::var_value]’ 67 | x.adj().array() += z.adj() * y.array(); | ~~~~~~~~^~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:91:48: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 91 | ret]() mutable { update_adjoints(operand, partial, ret); }); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:105:28: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, -1, 1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 105 | return ops_partials.build(logp); | ~~~~~~~~~~~~~~~~~~^~~~~~ stanExports_multinom.h:436:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 436 | lp_accum__.add(stan::math::normal_lpdf( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 437 | stan::math::to_vector(beta), 0, prior_beta)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of ‘void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_not_nan, -1, 1> >(const char*, const char*, const Eigen::Matrix, -1, 1>&)::; T = Eigen::Matrix, -1, 1>; Indexings = {}; stan::require_eigen_t* = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* = 0]’: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:28:20: required from ‘void stan::math::check_not_nan(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix, -1, 1>]’ 28 | elementwise_check([](double x) { return !std::isnan(x); }, function, name, y, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | "not nan"); | ~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/std_normal_lpdf.hpp:37:16: required from ‘stan::return_type_t stan::math::std_normal_lpdf(const T_y&) [with bool propto = true; T_y = Eigen::Matrix, -1, 1>; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 37 | check_not_nan(function, "Random variable", y_ref); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:439:61: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 439 | lp_accum__.add(stan::math::std_normal_lpdf( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 440 | stan::math::to_vector(u))); | ~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase, -1, 1> >::Index’ {aka ‘long int’} [-Wsign-compare] 153 | for (size_t i = 0; i < x.size(); i++) { | ~~^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, const Eigen::Matrix >, 1, -1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Matrix >, 1, -1, false> >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::Block, const Eigen::Matrix >, 1, -1, false>; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::Block, const Eigen::Matrix >, 1, -1, false>; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:114:1: required from ‘ResultType Eigen::internal::member_sum::operator()(const XprType&) const [with XprType = Eigen::Block, const Eigen::Matrix >, 1, -1, false>; ResultType = double; Scalar = double]’ 97 | { return mat.MEMBER(); } \ | ~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:183:21: required from ‘const Eigen::internal::evaluator >::Scalar Eigen::internal::evaluator >::coeff(Eigen::Index) const [with ArgType = const Eigen::CwiseUnaryOp, const Eigen::Matrix >; MemberOp = Eigen::internal::member_sum; int Direction = 1; Scalar = double; Eigen::Index = long int]’ 183 | return m_functor(m_arg.template subVector(index)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:268:34: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; Func = Eigen::internal::scalar_max_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Matrix >, Eigen::internal::member_sum, 1> >; Scalar = double]’ 268 | res = func(res,eval.coeff(index)); | ~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op; Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; typename Eigen::internal::traits::Scalar = double]’ 448 | return derived().redux(Eigen::internal::scalar_max_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::maxCoeff() const [with Derived = Eigen::PartialReduxExpr, const Eigen::Matrix >, Eigen::internal::member_sum, 1>; typename Eigen::internal::traits::Scalar = double]’ 466 | return maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:49: required from here 106 | return x.cwiseAbs().rowwise().sum().maxCoeff(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Block >, -1, 1, true>, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Block >, -1, 1, true>, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Block >, -1, 1, true>, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, const Eigen::Block >, -1, 1, true>, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, const Eigen::Block >, -1, 1, true>, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, const Eigen::Block >, -1, 1, true>, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase >, -1, 1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase >, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense >, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator >, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator >, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from ‘struct Eigen::internal::plain_object_eval >, -1, 1, true>, Eigen::Dense>’ 372 | typedef typename plain_matrix_type_dense::XprKind, evaluator::Flags>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:370:45: required from ‘struct Eigen::internal::generic_product_impl, const Eigen::Block >, -1, 1, true>, Eigen::DenseShape, Eigen::DenseShape, 7>’ 370 | typedef typename nested_eval::type RhsNested; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:479:24: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::Matrix; Rhs = Eigen::Transpose >; Scalar = double]’ 478 | return internal::generic_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 479 | ::scaleAndAddTo(dst_vec, a_lhs, a_rhs.col(0), alpha); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::Matrix; Rhs = Eigen::Transpose >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 1, -1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, true>, Eigen::Transpose >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, true>, Eigen::Transpose >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, true>, Eigen::Transpose >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 1, -1, true>, Eigen::Transpose >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 1, -1, true>, Eigen::Transpose >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 1, -1, true>, Eigen::Transpose >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 1, -1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 1, -1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from ‘struct Eigen::internal::plain_object_eval, 1, -1, true>, Eigen::Dense>’ 372 | typedef typename plain_matrix_type_dense::XprKind, evaluator::Flags>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:369:45: required from ‘struct Eigen::internal::generic_product_impl, 1, -1, true>, Eigen::Transpose >, Eigen::DenseShape, Eigen::DenseShape, 7>’ 369 | typedef typename nested_eval::type LhsNested; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:486:24: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::Matrix; Rhs = Eigen::Transpose >; Scalar = double]’ 485 | return internal::generic_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 486 | ::scaleAndAddTo(dst_vec, a_lhs.row(0), a_rhs, alpha); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::Matrix; Rhs = Eigen::Transpose >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 1, -1, false> >’: /usr/local/lib/R/library/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::Transpose, 0, Eigen::Stride<0, 0> > >; SrcXprType = Eigen::Block, 1, -1, false>; Functor = assign_op]’ 774 | SrcEvaluatorType srcEvaluator(src); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; SrcXprType = Eigen::Block, 1, -1, false>; Functor = Eigen::internal::assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::Block, 1, -1, false>; Func = assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::Block, 1, -1, false>; Func = assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from ‘void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::Block, 1, -1, false>]’ 836 | call_assignment(dst, src, internal::assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Assign.h:66:28: required from ‘Derived& Eigen::MatrixBase::operator=(const Eigen::DenseBase&) [with OtherDerived = Eigen::Block, 1, -1, false>; Derived = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 66 | internal::call_assignment(derived(), other.derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:72:69: required from ‘int stan::services::standalone_generate(const Model&, const Eigen::MatrixXd&, unsigned int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; Eigen::MatrixXd = Eigen::Matrix]’ 72 | Eigen::Map(&row[0], draws.cols()) = draws.row(i); | ^ ../inst/include/rstan/stan_fit.hpp:818:46: required from ‘SEXPREC* rstan::stan_fit::standalone_gqs(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 818 | ret = stan::services::standalone_generate(model_, draws, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 819 | Rcpp::as(seed), interrupt, logger, *sample_writer_ptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:30:89: required from here 30 | .method("standalone_gqs", &rstan::stan_fit ::standalone_gqs) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 16, Eigen::Stride<0, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 16, Eigen::Stride<0, 0> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 16, Eigen::Stride<0, 0> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 16, Eigen::Stride<0, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 16, Eigen::Stride<0, 0> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 16, Eigen::Stride<0, 0> >, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:883:25: required from ‘void Eigen::PlainObjectBase::_init1(const Eigen::DenseBase&) [with T = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; OtherDerived = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 883 | this->_set_noalias(other); | ~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:332:31: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 332 | Base::template _init1(x); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:850:41: required from ‘void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if::value, void*>::type) [with Dst = Eigen::Matrix; Src = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; Func = add_assign_op; typename enable_if::value, void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 850 | typename plain_matrix_type::type tmp(src); | ^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:177:18: required from ‘Derived& Eigen::MatrixBase::operator+=(const Eigen::MatrixBase&) [with OtherDerived = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 177 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:28:39: required from here 28 | m2_ += (q - m_) * delta.transpose(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 16, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 16, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 16, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 16, Eigen::Stride<0, 0> >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 16, Eigen::Stride<0, 0> > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:280:48: required from ‘void Eigen::internal::outer_product_selector_run(Dst&, const Lhs&, const Rhs&, const Func&, const false_type&) [with Dst = Eigen::Matrix; Lhs = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix >; Rhs = Eigen::Transpose >; Func = generic_product_impl, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, Eigen::DenseShape, Eigen::DenseShape, 5>::set]’ 280 | func(dst.col(j), rhsEval.coeff(Index(0),j) * actual_lhs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:317:41: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 317 | internal::outer_product_selector_run(dst, lhs, rhs, set(), is_row_major()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:883:25: required from ‘void Eigen::PlainObjectBase::_init1(const Eigen::DenseBase&) [with T = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; OtherDerived = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 883 | this->_set_noalias(other); | ~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:332:31: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 332 | Base::template _init1(x); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:850:41: required from ‘void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if::value, void*>::type) [with Dst = Eigen::Matrix; Src = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; Func = add_assign_op; typename enable_if::value, void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 850 | typename plain_matrix_type::type tmp(src); | ^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:177:18: required from ‘Derived& Eigen::MatrixBase::operator+=(const Eigen::MatrixBase&) [with OtherDerived = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 177 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:28:39: required from here 28 | m2_ += (q - m_) * delta.transpose(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Transpose >, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Transpose >, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Transpose >, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, Eigen::Transpose >, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, Eigen::Transpose >, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, Eigen::Transpose >, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:462:68: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 462 | call_restricted_packet_assignment_no_alias(dst, lhs.lazyProduct(rhs), func); | ~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, -1, 1, true>, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase >, -1, 1, true>, -1, 1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >, -1, 1, true>, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >, -1, 1, true>, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase >, -1, 1, true>, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense >, -1, 1, true>, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, true>, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, true>, 1, -1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, true>, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, true>, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 1, -1, true>, 1, -1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 1, -1, true>, 1, -1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of ‘void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_not_nan > > >(const char*, const char*, const Eigen::ArrayWrapper > >&)::; T = Eigen::ArrayWrapper > >; Indexings = {}; stan::require_eigen_t* = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* = 0]’: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:28:20: required from ‘void stan::math::check_not_nan(const char*, const char*, const T_y&) [with T_y = Eigen::ArrayWrapper > >]’ 28 | elementwise_check([](double x) { return !std::isnan(x); }, function, name, y, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | "not nan"); | ~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:62:16: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = false; T_y = Eigen::Matrix; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = double]’ 62 | check_not_nan(function, "Random variable", y_val); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; VecR = std::vector; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = double; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase > > >::Index’ {aka ‘long int’} [-Wsign-compare] 153 | for (size_t i = 0; i < x.size(); i++) { | ~~^~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of ‘void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_not_nan > >(const char*, const char*, const Eigen::ArrayWrapper >&)::; T = Eigen::ArrayWrapper >; Indexings = {}; stan::require_eigen_t* = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* = 0]’: /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:28:20: required from ‘void stan::math::check_not_nan(const char*, const char*, const T_y&) [with T_y = Eigen::ArrayWrapper >]’ 28 | elementwise_check([](double x) { return !std::isnan(x); }, function, name, y, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | "not nan"); | ~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:62:16: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = false; T_y = Eigen::Matrix; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = double]’ 62 | check_not_nan(function, "Random variable", y_val); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:436:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; VecR = std::vector; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = double; std::ostream = std::basic_ostream]’ 436 | lp_accum__.add(stan::math::normal_lpdf( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 437 | stan::math::to_vector(beta), 0, prior_beta)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::EigenBase > >::Index’ {aka ‘long int’} [-Wsign-compare] 153 | for (size_t i = 0; i < x.size(); i++) { | ~~^~~~~~~~~~ In file included from /usr/local/lib/R/library/RcppEigen/include/Eigen/Core:333: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h: In instantiation of ‘class Eigen::internal::gemv_traits’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:306:38: required from ‘struct Eigen::internal::general_matrix_vector_product, 1, false, double, Eigen::internal::const_blas_data_mapper, false, 0>’ 306 | typedef typename Traits::LhsPacket LhsPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:347:132: required from ‘static void Eigen::internal::gemv_dense_selector<2, 1, true>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Matrix; Rhs = Eigen::Block >, -1, 1, true>; Dest = Eigen::Block, -1, 1, true>; typename Dest::Scalar = double]’ 346 | general_matrix_vector_product | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 347 | ::run( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 348 | actualLhs.rows(), actualLhs.cols(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | LhsMapper(actualLhs.data(), actualLhs.outerStride()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 350 | RhsMapper(actualRhsPtr, 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 351 | dest.data(), dest.col(0).innerStride(), //NOTE if dest is not a vector at compile-time, then dest.innerStride() might be wrong. (bug 1166) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | actualAlpha); | ~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Block, -1, 1, true>; Lhs = Eigen::Matrix; Rhs = const Eigen::Block >, -1, 1, true>; Scalar = double]’ 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:479:24: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::Matrix; Rhs = Eigen::Transpose >; Scalar = double]’ 478 | return internal::generic_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 479 | ::scaleAndAddTo(dst_vec, a_lhs, a_rhs.col(0), alpha); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::Matrix; Rhs = Eigen::Transpose >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 44 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 45 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 46 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 51 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 52 | unpacket_traits<_RhsPacket>::vectorizable && | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 53 | int(unpacket_traits<_LhsPacket>::size)==int(unpacket_traits<_RhsPacket>::size), | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 53 | int(unpacket_traits<_LhsPacket>::size)==int(unpacket_traits<_RhsPacket>::size), | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 54 | LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 55 | RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 56 | ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1 | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 59 | typedef typename conditional::type LhsPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 60 | typedef typename conditional::type RhsPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 61 | typedef typename conditional::type ResPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h: In instantiation of ‘class Eigen::internal::gemv_traits’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:310:42: required from ‘struct Eigen::internal::general_matrix_vector_product, 1, false, double, Eigen::internal::const_blas_data_mapper, false, 0>’ 310 | typedef typename HalfTraits::LhsPacket LhsPacketHalf; | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:347:132: required from ‘static void Eigen::internal::gemv_dense_selector<2, 1, true>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Matrix; Rhs = Eigen::Block >, -1, 1, true>; Dest = Eigen::Block, -1, 1, true>; typename Dest::Scalar = double]’ 346 | general_matrix_vector_product | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 347 | ::run( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 348 | actualLhs.rows(), actualLhs.cols(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | LhsMapper(actualLhs.data(), actualLhs.outerStride()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 350 | RhsMapper(actualRhsPtr, 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 351 | dest.data(), dest.col(0).innerStride(), //NOTE if dest is not a vector at compile-time, then dest.innerStride() might be wrong. (bug 1166) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | actualAlpha); | ~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Block, -1, 1, true>; Lhs = Eigen::Matrix; Rhs = const Eigen::Block >, -1, 1, true>; Scalar = double]’ 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:479:24: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::Matrix; Rhs = Eigen::Transpose >; Scalar = double]’ 478 | return internal::generic_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 479 | ::scaleAndAddTo(dst_vec, a_lhs, a_rhs.col(0), alpha); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::Matrix; Rhs = Eigen::Transpose >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 44 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 45 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 46 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 51 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 52 | unpacket_traits<_RhsPacket>::vectorizable && | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 53 | int(unpacket_traits<_LhsPacket>::size)==int(unpacket_traits<_RhsPacket>::size), | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 53 | int(unpacket_traits<_LhsPacket>::size)==int(unpacket_traits<_RhsPacket>::size), | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 54 | LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 55 | RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 56 | ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1 | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 59 | typedef typename conditional::type LhsPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 60 | typedef typename conditional::type RhsPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 61 | typedef typename conditional::type ResPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h: In instantiation of ‘class Eigen::internal::gemv_traits’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:314:45: required from ‘struct Eigen::internal::general_matrix_vector_product, 1, false, double, Eigen::internal::const_blas_data_mapper, false, 0>’ 314 | typedef typename QuarterTraits::LhsPacket LhsPacketQuarter; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:347:132: required from ‘static void Eigen::internal::gemv_dense_selector<2, 1, true>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Matrix; Rhs = Eigen::Block >, -1, 1, true>; Dest = Eigen::Block, -1, 1, true>; typename Dest::Scalar = double]’ 346 | general_matrix_vector_product | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 347 | ::run( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 348 | actualLhs.rows(), actualLhs.cols(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | LhsMapper(actualLhs.data(), actualLhs.outerStride()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 350 | RhsMapper(actualRhsPtr, 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 351 | dest.data(), dest.col(0).innerStride(), //NOTE if dest is not a vector at compile-time, then dest.innerStride() might be wrong. (bug 1166) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | actualAlpha); | ~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Block, -1, 1, true>; Lhs = Eigen::Matrix; Rhs = const Eigen::Block >, -1, 1, true>; Scalar = double]’ 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:479:24: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::Matrix; Rhs = Eigen::Transpose >; Scalar = double]’ 478 | return internal::generic_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 479 | ::scaleAndAddTo(dst_vec, a_lhs, a_rhs.col(0), alpha); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::Matrix; Rhs = Eigen::Transpose >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 44 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 45 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 46 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro ‘PACKET_DECL_COND_PREFIX’ 42 | prefix ## name ## Packet | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 51 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 52 | unpacket_traits<_RhsPacket>::vectorizable && | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 53 | int(unpacket_traits<_LhsPacket>::size)==int(unpacket_traits<_RhsPacket>::size), | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 53 | int(unpacket_traits<_LhsPacket>::size)==int(unpacket_traits<_RhsPacket>::size), | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 54 | LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 55 | RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 56 | ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1 | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 59 | typedef typename conditional::type LhsPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 60 | typedef typename conditional::type RhsPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] 61 | typedef typename conditional::type ResPacket; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, true>, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, -1, 1, true>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, -1, 1, true>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, true>, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1, true>, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, 1, true>, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, false> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, false> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 1, -1, false>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:26: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, true> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 1, -1, true>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 1, -1, true> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:43: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, -1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:780:20: required from ‘void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block, -1, -1, false>; SrcXprType = Eigen::Map, 0, Eigen::Stride<0, 0> >; Functor = assign_op]’ 780 | DstEvaluatorType dstEvaluator(dst); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block, -1, -1, false>; SrcXprType = Eigen::Map, 0, Eigen::Stride<0, 0> >; Functor = Eigen::internal::assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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, -1, -1, false>; Src = Eigen::Map, 0, Eigen::Stride<0, 0> >; Func = assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Block, -1, -1, false>; Src = Eigen::Map, 0, Eigen::Stride<0, 0> >; Func = assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from ‘void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Block, -1, -1, false>; Src = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 836 | call_assignment(dst, src, internal::assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Assign.h:66:28: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 66 | internal::call_assignment(derived(), other.derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CommaInitializer.h:159:10: required from ‘Eigen::CommaInitializer Eigen::DenseBase::operator<<(const Eigen::DenseBase&) [with OtherDerived = Eigen::Map, 0, Eigen::Stride<0, 0> >; Derived = Eigen::Matrix]’ 159 | return CommaInitializer(*static_cast(this), other); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/append_row.hpp:102:10: required from ‘Eigen::Matrix::type, -1, 1> stan::math::append_row(const ColVec&, const Scal&) [with ColVec = Eigen::Map, 0, Eigen::Stride<0, 0> >; Scal = double; stan::require_t >* = 0; stan::require_stan_scalar_t* = 0; typename stan::return_type::type = double]’ 102 | result << A.template cast(), B; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:29:31: required from ‘T_return stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = std::vector; Tb = std::vector; Tz = double; T_return = double; ArrayAT = Eigen::Array; ArrayBT = Eigen::Array; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 29 | ArrayBT b_array = append_row(as_array_or_scalar(b), 1.0); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:123:47: required from ‘auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector; Tb = std::vector; Tz = double; stan::require_all_vector_t* = 0; stan::require_stan_scalar_t* = 0]’ 123 | return internal::hypergeometric_3F2_infsum(a, b, z); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:148:28: required from ‘auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t* = 0]’ 148 | return hypergeometric_3F2(std::vector(a), std::vector(b), z); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:77:37: required from here 77 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Matrix, const Eigen::Matrix > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Matrix >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:37:51: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Matrix; U = Eigen::Matrix; bool NeedToTranspose = false; ResScalar = double]’ 37 | return a.template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from ‘typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType Eigen::MatrixBase::dot(const Eigen::MatrixBase&) const [with OtherDerived = Eigen::Matrix; Derived = Eigen::Matrix; typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType = double; typename Eigen::internal::traits::Scalar = double; typename Eigen::internal::traits::Scalar = double]’ 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/optimization/bfgs.hpp:199:45: required from ‘int stan::optimization::BFGSMinimizer::step() [with FunctorType = stan::optimization::ModelAdaptor; QNUpdateType = stan::optimization::LBFGSUpdate<>; Scalar = double; int DimAtCompile = -1]’ 199 | * CubicInterp(_gk_1.dot(_pk_1), _alphak_1, _fk - _fk_1, | ~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:120:21: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 120 | ret = lbfgs.step(); | ~~~~~~~~~~^~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Array, const Eigen::Array > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/sum.hpp:47:15: required from ‘stan::value_type_t stan::math::sum(const T&) [with T = Eigen::CwiseBinaryOp, const Eigen::Array, const Eigen::Array >; stan::require_eigen_vt* = 0; stan::value_type_t = double]’ 47 | return m.sum(); | ~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:82:38: required from ‘stan::return_type_t stan::math::normal_lpdf(const T_y&, const T_loc&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, 1, -1>; T_loc = int; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 82 | T_partials_return logp = -0.5 * sum(y_scaled_sq); | ~~~^~~~~~~~~~~~~ stanExports_multinom.h:433:57: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 433 | lp_accum__.add(stan::math::normal_lpdf(intercept, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 434 | prior_int)); | ~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/sum.hpp:47:15: required from ‘stan::value_type_t stan::math::sum(const T&) [with T = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::Array >; stan::require_eigen_vt* = 0; stan::value_type_t = double]’ 47 | return m.sum(); | ~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:96:16: required from ‘stan::return_type_t stan::math::inv_gamma_lpdf(const T_y&, const T_shape&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix, -1, 1>; T_shape = double; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = var_value]’ 96 | logp -= sum((alpha_val + 1.0) * log_y) * N / max_size(y, alpha); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:442:60: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 442 | lp_accum__.add(stan::math::inv_gamma_lpdf(sigma_grp, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 443 | prior_sigma_shape, (prior_sigma * (prior_sigma_shape | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 444 | - 1)))); | ~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 1, -1, true>; U = Eigen::Block >, -1, 1, true>, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, true>, 1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, true>, 1, -1, true> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, true>, 1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, true>, 1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 1, -1, true>, 1, -1, true>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 1, -1, true>, 1, -1, true> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:23: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 1, -1, true>, 1, -1, true> >, const Eigen::Block >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 1, -1, true>, 1, -1, true> >, const Eigen::Block >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 1, -1, true>, 1, -1, true> >, const Eigen::Block >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 1, -1, true>, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true>, 1, -1, true> >, const Eigen::Block >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 1, -1, true>, 1, -1, true>; U = Eigen::Block >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, false> >, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, false> >, -1, 1, true>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, false> >, -1, 1, true>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, false> >, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, false> >, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 1, -1, false> >, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, 0>; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, 0>; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, 0, Eigen::Stride<0, 0> >, Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, 0> >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, 0>; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, 0>; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/sum.hpp:47:15: required from ‘stan::value_type_t stan::math::sum(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, 0>; stan::require_eigen_vt* = 0; stan::value_type_t = double]’ 47 | return m.sum(); | ~~~~~^~ stanExports_multinom.h:429:39: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; VecR = std::vector; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = double; std::ostream = std::basic_ostream]’ 429 | lp_accum__.add(stan::math::sum( | ~~~~~~~~~~~~~~~^ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~~~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 52 | template class Transpose | ^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/sum.hpp:47:15: required from ‘stan::value_type_t stan::math::sum(const T&) [with T = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >; stan::require_eigen_vt* = 0; stan::value_type_t = double]’ 47 | return m.sum(); | ~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:102:16: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 102 | logp -= sum(beta_val * inv_y) * N / max_size(y, beta); | ~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:183:72: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 183 | return m_functor(m_arg.template subVector(index)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:36:22: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 36 | arena_m1.adj() += arena_m2.val().cwiseProduct(ret.adj()).rowwise().sum(); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:183:72: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 183 | return m_functor(m_arg.template subVector(index)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:45:22: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 45 | arena_m1.adj() += arena_m2.val().cwiseProduct(ret.adj()).rowwise().sum(); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator >, -1, 1, true>, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator >, -1, 1, true>, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, -1, 1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, -1, 1, true> > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 1, -1, true>, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 1, -1, true>, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, 1, -1, true>, 1, -1, true> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, 1, -1, true>, 1, -1, true> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 1, -1, true>, 1, -1, true> > >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 1, -1, true>, 1, -1, true> >, const Eigen::Block >, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]’: /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:167:5: required from ‘struct boost::CopyConstructible<__gnu_cxx::__normal_iterator > >’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:127:16: required from ‘struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >’ 127 | struct IncrementableIteratorConcept : CopyConstructible | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:149:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >’ 149 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:31: /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::CopyConstructible<__gnu_cxx::__normal_iterator > >]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]’: /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:208:5: required from ‘struct boost::Convertible’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::Convertible]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied >’ 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:72:8: required from ‘struct boost::concepts::requirement_)>’ 72 | struct requirement_ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_concepts.hpp:106:7: [ skipping 18 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement::failed() [with Model = boost::Convertible]’: /usr/local/lib/R/library/BH/include/boost/iterator/iterator_concepts.hpp:106:7: required from ‘struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:149:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >’ 149 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied > > >’ 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 72 | struct requirement_ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::incrementable_traversal_tag]’ 37 | ~model() | ^ /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:208:5: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]’: /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:138:13: required from ‘struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:149:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >’ 149 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied > > >’ 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 72 | struct requirement_ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]’: /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:233:5: required from ‘struct boost::EqualityComparable<__gnu_cxx::__normal_iterator > >’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:149:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >’ 149 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied > > >’ 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 72 | struct requirement_ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::EqualityComparable<__gnu_cxx::__normal_iterator > >]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]’: /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:208:5: required from ‘struct boost::Convertible’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::Convertible]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied >’ 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:72:8: required from ‘struct boost::concepts::requirement_)>’ 72 | struct requirement_ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:154:13: [ skipping 17 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement::failed() [with Model = boost::Convertible]’: /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:154:13: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied > > >’ 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:72:8: required from ‘struct boost::concepts::requirement_ > >)>’ 72 | struct requirement_ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:280:9: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::single_pass_traversal_tag]’ 37 | ~model() | ^ /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:208:5: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]’: /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:160:13: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied > > >’ 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:72:8: required from ‘struct boost::concepts::requirement_ > >)>’ 72 | struct requirement_ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:280:9: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement::failed() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]’: /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:280:9: required from ‘struct boost::SinglePassRangeConcept > > >’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::SinglePassRangeConcept > > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied > > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied > > > >’ 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:72:8: required from ‘struct boost::concepts::requirement_ > > >)>’ 72 | struct requirement_ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/range/algorithm/equal.hpp:174:13: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::range_detail::SinglePassIteratorConcept::~SinglePassIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator >]’ 37 | ~model() | ^ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:160:13: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 160 | BOOST_CONCEPT_USAGE(SinglePassIteratorConcept) | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > > >]’: /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:286:9: required from ‘struct boost::SinglePassRangeConcept > > >’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::SinglePassRangeConcept > > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied > > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied > > > >’ 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:72:8: required from ‘struct boost::concepts::requirement_ > > >)>’ 72 | struct requirement_ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/range/algorithm/equal.hpp:174:13: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::SinglePassRangeConcept > > >]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement::failed() [with Model = boost::SinglePassRangeConcept > > >]’: /usr/local/lib/R/library/BH/include/boost/range/algorithm/equal.hpp:174:13: required from ‘bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/range/iterator_range_core.hpp:647:32: required from ‘bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]’ 647 | return boost::equal( l, r ); | ~~~~~~~~~~~~^~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/find_iterator.hpp:359:32: required from ‘bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]’ 359 | m_Match==Other.m_Match && | ~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:518:24: required from ‘static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, std::true_type) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; std::true_type = std::true_type]’ 518 | return f1.equal(f2); | ~~~~~~~~^~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:823:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator==(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_adaptor.hpp:166:27: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 166 | return m_iterator == x.base(); | ~~~~~~~~~~~^~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::SinglePassRangeConcept::~SinglePassRangeConcept() [with T = const boost::iterator_range<__gnu_cxx::__normal_iterator > >]’ 37 | ~model() | ^ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:286:9: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 286 | BOOST_CONCEPT_USAGE(SinglePassRangeConcept) | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:74: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 457 | dst.topRows(diagSize) -= ((lhs_alpha-LhsScalar(1))*a_rhs).topRows(diagSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map, 0, Eigen::Stride<0, 0> >; SrcXprType = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op]’ 856 | call_triangular_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::TriangularShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from ‘Derived& Eigen::DenseBase::operator+=(const Eigen::EigenBase&) [with OtherDerived = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Derived = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 145 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 31 | arena_L.adj() += ((res.adj().transpose() + res.adj()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | * arena_L_val.template triangularView()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | .template triangularView(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1, true>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1, true>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, -1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map, 0, Eigen::Stride<0, 0> >; SrcXprType = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op]’ 856 | call_triangular_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::TriangularShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from ‘Derived& Eigen::DenseBase::operator+=(const Eigen::EigenBase&) [with OtherDerived = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Derived = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 145 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 31 | arena_L.adj() += ((res.adj().transpose() + res.adj()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | * arena_L_val.template triangularView()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | .template triangularView(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:462:74: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 462 | dst.leftCols(diagSize) -= (rhs_alpha-RhsScalar(1))*a_lhs.leftCols(diagSize); | ~~~~~~~~~~~~~~^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map, 0, Eigen::Stride<0, 0> >; SrcXprType = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op]’ 856 | call_triangular_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::TriangularShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from ‘Derived& Eigen::DenseBase::operator+=(const Eigen::EigenBase&) [with OtherDerived = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Derived = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 145 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 31 | arena_L.adj() += ((res.adj().transpose() + res.adj()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | * arena_L_val.template triangularView()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | .template triangularView(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:462:59: required from ‘static void Eigen::internal::triangular_product_impl::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix; int Mode = 1; bool LhsIsTriangular = false; Lhs = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; typename Dest::Scalar = double]’ 462 | dst.leftCols(diagSize) -= (rhs_alpha-RhsScalar(1))*a_lhs.leftCols(diagSize); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:783:113: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 783 | triangular_product_impl::run(dst, lhs, rhs.nestedExpression(), alpha); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map, 0, Eigen::Stride<0, 0> >; SrcXprType = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op]’ 856 | call_triangular_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::TriangularShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from ‘Derived& Eigen::DenseBase::operator+=(const Eigen::EigenBase&) [with OtherDerived = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Derived = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 145 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 31 | arena_L.adj() += ((res.adj().transpose() + res.adj()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | * arena_L_val.template triangularView()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | .template triangularView(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0>, -1, 1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1384:41: required from ‘struct Eigen::internal::evaluator_wrapper_base, 0>, -1, 1, false> > >’ 1384 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1464:8: required from ‘struct Eigen::internal::unary_evaluator, 0>, -1, 1, false> >, Eigen::internal::IndexBased, double>’ 1464 | struct unary_evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, 0>, -1, 1, false> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0>, -1, 1, false> > >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:564:45: required from ‘struct Eigen::internal::unary_evaluator, const Eigen::ArrayWrapper, 0>, -1, 1, false> > >, Eigen::internal::IndexBased, double>’ 564 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> > >, -1, 1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from ‘struct Eigen::internal::plain_object_eval, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, Eigen::Dense>’ 372 | typedef typename plain_matrix_type_dense::XprKind, evaluator::Flags>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:370:45: required from ‘struct Eigen::internal::generic_product_impl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, Eigen::DenseShape, Eigen::DenseShape, 7>’ 370 | typedef typename nested_eval::type RhsNested; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:479:24: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Scalar = double]’ 478 | return internal::generic_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 479 | ::scaleAndAddTo(dst_vec, a_lhs, a_rhs.col(0), alpha); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:113:15: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 113 | LhsNested m_lhs; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from ‘struct Eigen::internal::plain_object_eval, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Dense>’ 372 | typedef typename plain_matrix_type_dense::XprKind, evaluator::Flags>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:369:45: required from ‘struct Eigen::internal::generic_product_impl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, Eigen::DenseShape, Eigen::DenseShape, 7>’ 369 | typedef typename nested_eval::type LhsNested; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:486:24: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Scalar = double]’ 485 | return internal::generic_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 486 | ::scaleAndAddTo(dst_vec, a_lhs.row(0), a_rhs, alpha); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:114:15: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 114 | RhsNested m_rhs; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from ‘struct Eigen::internal::plain_object_eval, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, Eigen::Dense>’ 372 | typedef typename plain_matrix_type_dense::XprKind, evaluator::Flags>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:370:45: required from ‘struct Eigen::internal::generic_product_impl, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, Eigen::DenseShape, Eigen::DenseShape, 7>’ 370 | typedef typename nested_eval::type RhsNested; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:479:24: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Scalar = double]’ 478 | return internal::generic_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 479 | ::scaleAndAddTo(dst_vec, a_lhs, a_rhs.col(0), alpha); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> > >, 1, -1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from ‘struct Eigen::internal::plain_object_eval, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::Dense>’ 372 | typedef typename plain_matrix_type_dense::XprKind, evaluator::Flags>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:369:45: required from ‘struct Eigen::internal::generic_product_impl, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::DenseShape, Eigen::DenseShape, 7>’ 369 | typedef typename nested_eval::type LhsNested; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:486:24: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Scalar = double]’ 485 | return internal::generic_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 486 | ::scaleAndAddTo(dst_vec, a_lhs.row(0), a_rhs, alpha); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, false>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, false>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, false>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 1, -1, false>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 1, -1, false>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 1, -1, false>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, -1, 1, true>, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, -1, 1, true>, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, -1, 1, true>, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, -1, 1, true>, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, -1, 1, true>, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, -1, 1, true>, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from ‘struct Eigen::internal::plain_object_eval, -1, 1, true>, Eigen::Dense>’ 372 | typedef typename plain_matrix_type_dense::XprKind, evaluator::Flags>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:370:45: required from ‘struct Eigen::internal::generic_product_impl, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, -1, 1, true>, Eigen::DenseShape, Eigen::DenseShape, 7>’ 370 | typedef typename nested_eval::type RhsNested; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:479:24: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Matrix; Scalar = double]’ 478 | return internal::generic_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 479 | ::scaleAndAddTo(dst_vec, a_lhs, a_rhs.col(0), alpha); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Matrix]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::Matrix, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::Matrix, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::Matrix, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::Matrix, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::Matrix, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::Matrix, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:280:48: required from ‘void Eigen::internal::outer_product_selector_run(Dst&, const Lhs&, const Rhs&, const Func&, const false_type&) [with Dst = Eigen::Matrix; Lhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >; Func = generic_product_impl, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::DenseShape, Eigen::DenseShape, 5>::set]’ 280 | func(dst.col(j), rhsEval.coeff(Index(0),j) * actual_lhs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:317:41: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 317 | internal::outer_product_selector_run(dst, lhs, rhs, set(), is_row_major()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:606:52: required from ‘const Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::CoeffReturnType Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::coeff(Eigen::Index, Eigen::Index) const [with Lhs = Eigen::Matrix; Rhs = Eigen::Transpose >; int ProductTag = 8; typename Eigen::internal::traits::Lhs>::Scalar = double; typename Eigen::Product::Lhs = Eigen::Matrix; typename Eigen::internal::traits::Rhs>::Scalar = double; typename Eigen::Product::Rhs = Eigen::Transpose >; CoeffReturnType = double; Eigen::Index = long int]’ 606 | return (m_lhs.row(row).transpose().cwiseProduct( m_rhs.col(col) )).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:654:63: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 654 | m_functor.assignCoeff(m_dst.coeffRef(row,col), m_src.coeff(row,col)); | ~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::CopyConstructible<__gnu_cxx::__normal_iterator > >]’: /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:167:5: required from ‘struct boost::CopyConstructible<__gnu_cxx::__normal_iterator > >’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:127:16: required from ‘struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >’ 127 | struct IncrementableIteratorConcept : CopyConstructible | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:149:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >’ 149 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::CopyConstructible::~CopyConstructible() [with TT = __gnu_cxx::__normal_iterator >]’ 37 | ~model() | ^ /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:167:5: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 167 | BOOST_CONCEPT_USAGE(CopyConstructible) { | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]’: /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:208:5: required from ‘struct boost::Convertible’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::Convertible]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied >’ 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 19 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 72 | struct requirement_ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::incrementable_traversal_tag]’ 37 | ~model() | ^ /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:208:5: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >]’: /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:138:13: required from ‘struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:149:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >’ 149 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::range_detail::IncrementableIteratorConcept::~IncrementableIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator >]’ 37 | ~model() | ^ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:138:13: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 138 | BOOST_CONCEPT_USAGE(IncrementableIteratorConcept) | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::EqualityComparable<__gnu_cxx::__normal_iterator > >]’: /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:233:5: required from ‘struct boost::EqualityComparable<__gnu_cxx::__normal_iterator > >’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:149:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >’ 149 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::EqualityComparable::~EqualityComparable() [with TT = __gnu_cxx::__normal_iterator >]’ 37 | ~model() | ^ /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:233:5: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 233 | BOOST_CONCEPT_USAGE(EqualityComparable) { | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]’: /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:208:5: required from ‘struct boost::Convertible’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::Convertible]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied >’ 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 18 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 72 | struct requirement_ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::single_pass_traversal_tag]’ 37 | ~model() | ^ /usr/local/lib/R/library/BH/include/boost/concept_check.hpp:208:5: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]’: /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:160:13: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied > > >’ 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 72 | struct requirement_ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::range_detail::SinglePassIteratorConcept::~SinglePassIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator >]’ 37 | ~model() | ^ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:160:13: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 160 | BOOST_CONCEPT_USAGE(SinglePassIteratorConcept) | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::SinglePassRangeConcept > > >]’: /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > > >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:286:9: required from ‘struct boost::SinglePassRangeConcept > > >’ 92 | &::boost::concepts::requirement_::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::SinglePassRangeConcept > > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints* = 0); | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied > > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied > > > >’ 45 | typedef boost::integral_constant type; | ^~~~ /usr/local/lib/R/library/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 72 | struct requirement_ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/iterator/iterator_facade.hpp:824:1: required from ‘typename boost::iterators::detail::enable_if_interoperable >::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable >::type = bool; detail::always_bool_t = bool]’ 808 | return_prefix iterator_core_access::base_op( \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | *static_cast< Derived1 const* >(&lhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | *static_cast< Derived2 const* >(&rhs), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | std::integral_constant< bool, std::is_convertible< Derived2, Derived1 >::value >() \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 812 | ); \ | ~ /usr/include/c++/16/bits/stl_vector.h:1945:21: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]’ 1945 | for (; __first != __last; ++__first) | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/bits/stl_vector.h:741:23: required from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::use_default, boost::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]’ 741 | _M_range_initialize(__first, __last, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 742 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/iter_find.hpp:186:31: required from ‘SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; FinderT = detail::token_finderF >]’ 186 | SequenceSequenceT Tmp(itBegin, itEnd); | ^~~ /usr/local/lib/R/library/BH/include/boost/algorithm/string/split.hpp:158:50: required from ‘SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = std::__cxx11::basic_string&; PredicateT = detail::is_any_ofF]’ 158 | return ::boost::algorithm::iter_split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159 | Result, | ~~~~~~~ 160 | Input, | ~~~~~~ 161 | ::boost::algorithm::token_finder( Pred, eCompress ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:17: required from here 19 | boost::split(parts, variable, boost::is_any_of(":")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::SinglePassRangeConcept::~SinglePassRangeConcept() [with T = const boost::iterator_range<__gnu_cxx::__normal_iterator > >]’ 37 | ~model() | ^ /usr/local/lib/R/library/BH/include/boost/range/concepts.hpp:286:9: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 286 | BOOST_CONCEPT_USAGE(SinglePassRangeConcept) | ^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from ‘class Eigen::Diagonal, 0>’ 63 | template class Diagonal | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:303:32: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 303 | triangularBuffer.diagonal().setZero(); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map, 0, Eigen::Stride<0, 0> >; SrcXprType = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op]’ 856 | call_triangular_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::TriangularShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from ‘Derived& Eigen::DenseBase::operator+=(const Eigen::EigenBase&) [with OtherDerived = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Derived = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 145 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 31 | arena_L.adj() += ((res.adj().transpose() + res.adj()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | * arena_L_val.template triangularView()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | .template triangularView(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> > >, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> > >, 1, -1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:462:68: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 462 | call_restricted_packet_assignment_no_alias(dst, lhs.lazyProduct(rhs), func); | ~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:43: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:462:68: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 462 | call_restricted_packet_assignment_no_alias(dst, lhs.lazyProduct(rhs), func); | ~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:70: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:462:68: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 462 | call_restricted_packet_assignment_no_alias(dst, lhs.lazyProduct(rhs), func); | ~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 1, -1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, false>, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, false>, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 1, -1, false>, 1, -1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 1, -1, false>, 1, -1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:462:68: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 462 | call_restricted_packet_assignment_no_alias(dst, lhs.lazyProduct(rhs), func); | ~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, true>, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, -1, 1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, true>, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1, true>, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, 1, true>, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, -1, 1, true>, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:70: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:43: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 1, -1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 1, -1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, -1, 1, true> >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, -1, 1, true> >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, -1, 1, true> > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true>, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:63: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 1, -1, true>; U = Eigen::Block >, -1, 1, true>, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from ‘typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType Eigen::MatrixBase::dot(const Eigen::MatrixBase&) const [with OtherDerived = Eigen::Block >, -1, 1, true>, -1, 1, true>; Derived = Eigen::Block, 1, -1, true>; typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType = double; typename Eigen::internal::traits::Scalar = double; typename Eigen::internal::traits::Scalar = double]’ 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:62: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true>, 1, -1, true> >, const Eigen::Block >, -1, 1, true> >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true>, 1, -1, true> >, const Eigen::Block >, -1, 1, true> >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Transpose, 1, -1, true>, 1, -1, true> >, const Eigen::Block >, -1, 1, true> > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true>, 1, -1, true> >, const Eigen::Block >, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true>, 1, -1, true> >, const Eigen::Block >, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:63: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 1, -1, true>, 1, -1, true>; U = Eigen::Block >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from ‘typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType Eigen::MatrixBase::dot(const Eigen::MatrixBase&) const [with OtherDerived = Eigen::Block >, -1, 1, true>; Derived = Eigen::Block, 1, -1, true>, 1, -1, true>; typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType = double; typename Eigen::internal::traits::Scalar = double; typename Eigen::internal::traits::Scalar = double]’ 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:62: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of ‘void Eigen::internal::gemm_pack_rhs::operator()(Scalar*, const DataMapper&, Index, Index, Index, Index) [with Scalar = double; Index = long int; DataMapper = Eigen::internal::const_blas_data_mapper; int nr = 4; bool Conjugate = false; bool PanelMode = true]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:346:25: required from ‘static void Eigen::internal::product_triangular_matrix_matrix::run(Index, Index, Index, const Scalar*, Index, const Scalar*, Index, Scalar*, Index, Index, const Scalar&, Eigen::internal::level3_blocking&) [with Scalar = double; Index = long int; int Mode = 1; int LhsStorageOrder = 1; bool ConjugateLhs = false; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int Version = 0]’ 346 | pack_rhs_panel(blockB+j2*actual_kc, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 347 | rhs.getSubMapper(actual_k2+panelOffset, actual_j2), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | panelLength, actualPanelWidth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | actual_kc, panelOffset); | ~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:443:12: required from ‘static void Eigen::internal::triangular_product_impl::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix; int Mode = 1; bool LhsIsTriangular = false; Lhs = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; typename Dest::Scalar = double]’ 438 | internal::product_triangular_matrix_matrix::Flags&RowMajorBit) ? RowMajor : ColMajor, LhsBlasTraits::NeedToConjugate, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | (internal::traits::Flags&RowMajorBit) ? RowMajor : ColMajor, RhsBlasTraits::NeedToConjugate, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | (internal::traits::Flags&RowMajorBit) ? RowMajor : ColMajor, Dest::InnerStrideAtCompileTime> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 443 | ::run( | ~~~~~^ 444 | stripedRows, stripedCols, stripedDepth, // sizes | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 445 | &lhs.coeffRef(0,0), lhs.outerStride(), // lhs info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 446 | &rhs.coeffRef(0,0), rhs.outerStride(), // rhs info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 447 | &dst.coeffRef(0,0), dst.innerStride(), dst.outerStride(), // result info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | actualAlpha, blocking | ~~~~~~~~~~~~~~~~~~~~~ 449 | ); | ~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:783:113: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>; int ProductTag = 8; Scalar = double]’ 783 | triangular_product_impl::run(dst, lhs, rhs.nestedExpression(), alpha); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:361:27: required from ‘static void Eigen::internal::generic_product_impl_base::scaleAndAddTo(Dst&, const Lhs&, const Rhs&, const Scalar&) [with Dst = Eigen::Matrix; Lhs = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>; Derived = Eigen::internal::generic_product_impl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, Eigen::DenseShape, Eigen::TriangularShape, 8>; Scalar = double]’ 361 | { Derived::scaleAndAddTo(dst,lhs,rhs,alpha); } | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:349:33: required from ‘static void Eigen::internal::generic_product_impl_base::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>; Derived = Eigen::internal::generic_product_impl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, Eigen::DenseShape, Eigen::TriangularShape, 8>]’ 349 | { dst.setZero(); scaleAndAddTo(dst, lhs, rhs, Scalar(1)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:124:75: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 124 | generic_product_impl::evalTo(m_result, xpr.lhs(), xpr.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map, 0, Eigen::Stride<0, 0> >; SrcXprType = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op]’ 856 | call_triangular_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::TriangularShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from ‘Derived& Eigen::DenseBase::operator+=(const Eigen::EigenBase&) [with OtherDerived = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Derived = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 145 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 31 | arena_L.adj() += ((res.adj().transpose() + res.adj()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | * arena_L_val.template triangularView()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | .template triangularView(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2459:62: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 2459 | PacketBlock kernel; | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 1, -1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> >, 1, -1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:70: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~^~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false> >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::Block, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false>; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::Block, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false>; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:114:1: required from ‘ResultType Eigen::internal::member_sum::operator()(const XprType&) const [with XprType = Eigen::Block, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false>; ResultType = double; Scalar = double]’ 97 | { return mat.MEMBER(); } \ | ~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:183:21: required from ‘const Eigen::internal::evaluator >::Scalar Eigen::internal::evaluator >::coeff(Eigen::Index) const [with ArgType = const Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >; MemberOp = Eigen::internal::member_sum; int Direction = 1; Scalar = double; Eigen::Index = long int]’ 183 | return m_functor(m_arg.template subVector(index)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:660:61: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 660 | m_functor.assignCoeff(m_dst.coeffRef(index), m_src.coeff(index)); | ~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:36:22: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 36 | arena_m1.adj() += arena_m2.val().cwiseProduct(ret.adj()).rowwise().sum(); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false> >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::Block, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false>; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::Block, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false>; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:114:1: required from ‘ResultType Eigen::internal::member_sum::operator()(const XprType&) const [with XprType = Eigen::Block, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, false>; ResultType = double; Scalar = double]’ 97 | { return mat.MEMBER(); } \ | ~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:183:21: required from ‘const Eigen::internal::evaluator >::Scalar Eigen::internal::evaluator >::coeff(Eigen::Index) const [with ArgType = const Eigen::CwiseBinaryOp, const Eigen::CwiseUnaryView, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryView, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >; MemberOp = Eigen::internal::member_sum; int Direction = 1; Scalar = double; Eigen::Index = long int]’ 183 | return m_functor(m_arg.template subVector(index)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:660:61: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 660 | m_functor.assignCoeff(m_dst.coeffRef(index), m_src.coeff(index)); | ~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/diag_pre_multiply.hpp:45:22: required from ‘auto stan::math::diag_pre_multiply(const T1&, const T2&) [with T1 = Eigen::Matrix, -1, 1>; T2 = Eigen::Matrix, -1, -1>; stan::require_vector_t* = 0; stan::require_matrix_t* = 0; stan::require_any_st_var* = 0]’ 45 | arena_m1.adj() += arena_m2.val().cwiseProduct(ret.adj()).rowwise().sum(); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:407:40: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 407 | stan::math::diag_pre_multiply(sigma_grp, L), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:366:43: required from ‘static void Eigen::internal::gemv_dense_selector<2, 0, false>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Dest = Eigen::Matrix; typename Dest::Scalar = double]’ 366 | dest += (alpha*actual_rhs.coeff(k)) * lhs.col(k); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:26: required from ‘static void Eigen::internal::gemv_dense_selector<1, StorageOrder, BlasCompatible>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Dest = Eigen::Matrix; int StorageOrder = 0; bool BlasCompatible = false; typename Dest::Scalar = double]’ 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:43: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/BlasUtil.h:506:13: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 506 | >::type DirectLinearAccessType; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 2, Eigen::Stride<0, 0> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 2, Eigen::Stride<0, 0> >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 2, Eigen::Stride<0, 0> >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 2, Eigen::Stride<0, 0> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 2, Eigen::Stride<0, 0> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 2, Eigen::Stride<0, 0> >, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 2, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 2, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 2, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 2, Eigen::Stride<0, 0> >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 2, Eigen::Stride<0, 0> > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:296:40: required from ‘static void Eigen::internal::gemv_dense_selector<2, 0, true>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Matrix; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Dest = Eigen::Matrix; typename Dest::Scalar = double]’ 296 | dest.matrix() += actualAlpha * MappedDest(actualDestPtr, dest.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:26: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:43: required from ‘static void Eigen::internal::gemv_dense_selector<1, StorageOrder, BlasCompatible>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Dest = Eigen::Block, 1, -1, false>; int StorageOrder = 1; bool BlasCompatible = true; typename Dest::Scalar = double]’ 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:43: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, false> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 1, -1, false>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 1, -1, false> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:43: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, true>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:43: required from ‘static void Eigen::internal::gemv_dense_selector<1, StorageOrder, BlasCompatible>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Dest = Eigen::Matrix; int StorageOrder = 1; bool BlasCompatible = true; typename Dest::Scalar = double]’ 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:780:20: required from ‘void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block, -1, 1, true>; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 16, Eigen::Stride<0, 0> > >; Functor = assign_op]’ 780 | DstEvaluatorType dstEvaluator(dst); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block, -1, 1, true>; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 16, Eigen::Stride<0, 0> > >; Functor = Eigen::internal::assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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, -1, 1, true>; Src = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 16, Eigen::Stride<0, 0> > >; Func = assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Block, -1, 1, true>; Src = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 16, Eigen::Stride<0, 0> > >; Func = assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from ‘void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Block, -1, 1, true>; Src = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 16, Eigen::Stride<0, 0> > >]’ 836 | call_assignment(dst, src, internal::assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Assign.h:66:28: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 66 | internal::call_assignment(derived(), other.derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:883:25: required from ‘void Eigen::PlainObjectBase::_init1(const Eigen::DenseBase&) [with T = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; OtherDerived = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 883 | this->_set_noalias(other); | ~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:332:31: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 332 | Base::template _init1(x); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:850:41: required from ‘void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if::value, void*>::type) [with Dst = Eigen::Matrix; Src = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; Func = add_assign_op; typename enable_if::value, void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 850 | typename plain_matrix_type::type tmp(src); | ^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:177:18: required from ‘Derived& Eigen::MatrixBase::operator+=(const Eigen::MatrixBase&) [with OtherDerived = Eigen::Product, const Eigen::Matrix, const Eigen::Matrix >, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 177 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:28:39: required from here 28 | m2_ += (q - m_) * delta.transpose(); | ^ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:59: required from ‘static void Eigen::internal::triangular_product_impl::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix; int Mode = 1; bool LhsIsTriangular = true; Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; typename Dest::Scalar = double]’ 457 | dst.topRows(diagSize) -= ((lhs_alpha-LhsScalar(1))*a_rhs).topRows(diagSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:770:14: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 769 | triangular_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 770 | ::run(dst, lhs.nestedExpression(), rhs, alpha); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:123:20: required from ‘stan::math::arena_matrix::type>::value, void>::type>& stan::math::arena_matrix::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 123 | Base::operator=(a); | ~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:68:11: required from ‘stan::math::arena_matrix::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_eigen_t* = 0; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 68 | *this = other; | ~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/vari.hpp:722:9: required from ‘stan::math::vari_value::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix; typename stan::plain_type::type = Eigen::Matrix]’ 722 | : val_(x), | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from ‘stan::math::var_value::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type = void; typename stan::value_type::type = double]’ 366 | var_value(S&& x) : vi_(new vari_type(std::forward(x), false)) {} // NOLINT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:27: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 27 | arena_t res = arena_L_val.template triangularView() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | * arena_L_val.transpose(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, -1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, -1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, -1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, -1, -1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, -1, -1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, -1, -1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:74: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 457 | dst.topRows(diagSize) -= ((lhs_alpha-LhsScalar(1))*a_rhs).topRows(diagSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:123:20: required from ‘stan::math::arena_matrix::type>::value, void>::type>& stan::math::arena_matrix::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 123 | Base::operator=(a); | ~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:68:11: required from ‘stan::math::arena_matrix::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_eigen_t* = 0; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 68 | *this = other; | ~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/vari.hpp:722:9: required from ‘stan::math::vari_value::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix; typename stan::plain_type::type = Eigen::Matrix]’ 722 | : val_(x), | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from ‘stan::math::var_value::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type = void; typename stan::value_type::type = double]’ 366 | var_value(S&& x) : vi_(new vari_type(std::forward(x), false)) {} // NOLINT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:27: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 27 | arena_t res = arena_L_val.template triangularView() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | * arena_L_val.transpose(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, -1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, -1, -1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, -1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, -1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, -1, -1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> >, -1, -1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:123:20: required from ‘stan::math::arena_matrix::type>::value, void>::type>& stan::math::arena_matrix::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 123 | Base::operator=(a); | ~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:68:11: required from ‘stan::math::arena_matrix::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_eigen_t* = 0; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 68 | *this = other; | ~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/vari.hpp:722:9: required from ‘stan::math::vari_value::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix; typename stan::plain_type::type = Eigen::Matrix]’ 722 | : val_(x), | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from ‘stan::math::var_value::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type = void; typename stan::value_type::type = double]’ 366 | var_value(S&& x) : vi_(new vari_type(std::forward(x), false)) {} // NOLINT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:27: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 27 | arena_t res = arena_L_val.template triangularView() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | * arena_L_val.transpose(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, -1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, -1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:462:59: required from ‘static void Eigen::internal::triangular_product_impl::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix; int Mode = 1; bool LhsIsTriangular = true; Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; typename Dest::Scalar = double]’ 462 | dst.leftCols(diagSize) -= (rhs_alpha-RhsScalar(1))*a_lhs.leftCols(diagSize); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:770:14: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 769 | triangular_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 770 | ::run(dst, lhs.nestedExpression(), rhs, alpha); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:123:20: required from ‘stan::math::arena_matrix::type>::value, void>::type>& stan::math::arena_matrix::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 123 | Base::operator=(a); | ~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:68:11: required from ‘stan::math::arena_matrix::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_eigen_t* = 0; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 68 | *this = other; | ~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/vari.hpp:722:9: required from ‘stan::math::vari_value::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix; typename stan::plain_type::type = Eigen::Matrix]’ 722 | : val_(x), | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from ‘stan::math::var_value::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type = void; typename stan::value_type::type = double]’ 366 | var_value(S&& x) : vi_(new vari_type(std::forward(x), false)) {} // NOLINT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:27: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 27 | arena_t res = arena_L_val.template triangularView() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | * arena_L_val.transpose(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:347:30: required from ‘Derived& Eigen::DenseBase::setConstant(const Scalar&) [with Derived = Eigen::Diagonal, 0>; Scalar = double]’ 347 | return derived() = Constant(rows(), cols(), val); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:548:10: required from ‘Derived& Eigen::DenseBase::setZero() [with Derived = Eigen::Diagonal, 0>]’ 548 | return setConstant(Scalar(0)); | ^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:303:42: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 303 | triangularBuffer.diagonal().setZero(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map, 0, Eigen::Stride<0, 0> >; SrcXprType = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op]’ 856 | call_triangular_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::TriangularShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from ‘Derived& Eigen::DenseBase::operator+=(const Eigen::EigenBase&) [with OtherDerived = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Derived = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 145 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 31 | arena_L.adj() += ((res.adj().transpose() + res.adj()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | * arena_L_val.template triangularView()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | .template triangularView(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:26: required from ‘static void Eigen::internal::gemv_dense_selector<1, StorageOrder, BlasCompatible>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Rhs = Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >; Dest = Eigen::Matrix; int StorageOrder = 0; bool BlasCompatible = false; typename Dest::Scalar = double]’ 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:280:48: required from ‘void Eigen::internal::outer_product_selector_run(Dst&, const Lhs&, const Rhs&, const Func&, const false_type&) [with Dst = Eigen::Matrix; Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Func = generic_product_impl, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::DenseShape, Eigen::DenseShape, 5>::set]’ 280 | func(dst.col(j), rhsEval.coeff(Index(0),j) * actual_lhs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:317:41: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 317 | internal::outer_product_selector_run(dst, lhs, rhs, set(), is_row_major()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>; U = Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:23: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; U = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:379:43: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 379 | dest.coeffRef(i) += alpha * (lhs.row(i).cwiseProduct(actual_rhs.transpose())).sum(); | ~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > > > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:379:80: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 379 | dest.coeffRef(i) += alpha * (lhs.row(i).cwiseProduct(actual_rhs.transpose())).sum(); | ~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:379:59: required from ‘static void Eigen::internal::gemv_dense_selector<2, 1, false>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >; Dest = Eigen::Transpose >; typename Dest::Scalar = double]’ 379 | dest.coeffRef(i) += alpha * (lhs.row(i).cwiseProduct(actual_rhs.transpose())).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:12: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 206 | gemv_dense_selector | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 1, -1, false>; U = Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; U = Eigen::Block, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/BlasUtil.h:506:13: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 506 | >::type DirectLinearAccessType; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/BlasUtil.h:506:13: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 506 | >::type DirectLinearAccessType; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase >, -1, 1, true>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase >, -1, 1, true>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase >, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 223 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> >, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 17 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from ‘struct Eigen::internal::plain_object_eval, 0, Eigen::Stride<0, 0> >, -1, 1, true>, Eigen::Dense>’ 372 | typedef typename plain_matrix_type_dense::XprKind, evaluator::Flags>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:370:45: required from ‘struct Eigen::internal::generic_product_impl, 0, Eigen::Stride<0, 0> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, Eigen::DenseShape, Eigen::DenseShape, 7>’ 370 | typedef typename nested_eval::type RhsNested; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:479:24: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Scalar = double]’ 478 | return internal::generic_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 479 | ::scaleAndAddTo(dst_vec, a_lhs, a_rhs.col(0), alpha); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, 1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, 1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> >, 1, -1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 17 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, 1, -1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, 1, -1, false> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from ‘struct Eigen::internal::plain_object_eval, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Dense>’ 372 | typedef typename plain_matrix_type_dense::XprKind, evaluator::Flags>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:369:45: required from ‘struct Eigen::internal::generic_product_impl, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::DenseShape, Eigen::DenseShape, 7>’ 369 | typedef typename nested_eval::type LhsNested; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:486:24: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Scalar = double]’ 485 | return internal::generic_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 486 | ::scaleAndAddTo(dst_vec, a_lhs.row(0), a_rhs, alpha); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>; U = Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:23: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true>; U = Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true>; U = Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/BlasUtil.h:506:13: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 506 | >::type DirectLinearAccessType; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of ‘struct Eigen::internal::gemm_pack_rhs, 4, 1, false, false>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:81:75: required from ‘static void Eigen::internal::general_matrix_matrix_product::run(Index, Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, ResScalar, Eigen::internal::level3_blocking&, Eigen::internal::GemmParallelInfo*) [with Index = long int; LhsScalar = double; int LhsStorageOrder = 0; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 1; bool ConjugateRhs = false; int ResInnerStride = 1; ResScalar = double]’ 81 | gemm_pack_rhs pack_rhs; | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:230:14: required from ‘void Eigen::internal::gemm_functor::operator()(Index, Index, Index, Index, Eigen::internal::GemmParallelInfo*) const [with Scalar = double; Index = long int; Gemm = Eigen::internal::general_matrix_matrix_product; Lhs = Eigen::Matrix; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Dest = Eigen::Matrix; BlockingType = Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false>]’ 230 | Gemm::run(rows, cols, m_lhs.cols(), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 231 | &m_lhs.coeffRef(row,0), m_lhs.outerStride(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232 | &m_rhs.coeffRef(0,col), m_rhs.outerStride(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | (Scalar*)&(m_dest.coeffRef(row,col)), m_dest.innerStride(), m_dest.outerStride(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | m_actualAlpha, m_blocking, info); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/Parallelizer.h:114:7: required from ‘void Eigen::internal::parallelize_gemm(const Functor&, Index, Index, Index, bool) [with bool Condition = true; Functor = gemm_functor, Eigen::Matrix, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >; Index = long int]’ 114 | func(0,rows, 0,cols); | ~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:509:9: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Scalar = double]’ 508 | internal::parallelize_gemm<(Dest::MaxRowsAtCompileTime>32 || Dest::MaxRowsAtCompileTime==Dynamic)> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 509 | (GemmFunctor(lhs, rhs, dst, actualAlpha, blocking), a_lhs.rows(), a_rhs.cols(), a_lhs.cols(), Dest::Flags&RowMajorBit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2504:50: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 2504 | typedef typename unpacket_traits::half HalfPacket; | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2505:82: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 2505 | typedef typename unpacket_traits::half>::half QuarterPacket; | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2505:82: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2508:56: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 2508 | HalfPacketSize = unpacket_traits::size, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2508:56: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2509:70: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 2509 | QuarterPacketSize = unpacket_traits::size}; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2509:70: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2509:70: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; U = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:23: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true>; U = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:379:80: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 379 | dest.coeffRef(i) += alpha * (lhs.row(i).cwiseProduct(actual_rhs.transpose())).sum(); | ~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:379:59: required from ‘static void Eigen::internal::gemv_dense_selector<2, 1, false>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >; Dest = Eigen::Transpose, 1, -1, false> >; typename Dest::Scalar = double]’ 379 | dest.coeffRef(i) += alpha * (lhs.row(i).cwiseProduct(actual_rhs.transpose())).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:12: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 206 | gemv_dense_selector | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 1, -1, false>; U = Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, false>, 1, -1, true> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, false>, 1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, false>, 1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 1, -1, false>, 1, -1, true>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 1, -1, false>, 1, -1, true> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:23: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 1, -1, false>, 1, -1, true>; U = Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; U = Eigen::Block, -1, 1, true>, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true>; U = Eigen::Block, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:114:15: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 114 | RhsNested m_rhs; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from ‘struct Eigen::internal::plain_object_eval, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, Eigen::Dense>’ 372 | typedef typename plain_matrix_type_dense::XprKind, evaluator::Flags>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:370:45: required from ‘struct Eigen::internal::generic_product_impl, 0, Eigen::Stride<0, 0> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, Eigen::DenseShape, Eigen::DenseShape, 7>’ 370 | typedef typename nested_eval::type RhsNested; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:479:24: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Rhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Scalar = double]’ 478 | return internal::generic_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 479 | ::scaleAndAddTo(dst_vec, a_lhs, a_rhs.col(0), alpha); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Rhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:113:15: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 113 | LhsNested m_lhs; | ^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from ‘struct Eigen::internal::plain_object_eval, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Dense>’ 372 | typedef typename plain_matrix_type_dense::XprKind, evaluator::Flags>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:369:45: required from ‘struct Eigen::internal::generic_product_impl, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Map, 0, Eigen::Stride<0, 0> >, Eigen::DenseShape, Eigen::DenseShape, 7>’ 369 | typedef typename nested_eval::type LhsNested; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:486:24: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Scalar = double]’ 485 | return internal::generic_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 486 | ::scaleAndAddTo(dst_vec, a_lhs.row(0), a_rhs, alpha); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; U = Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; U = Eigen::Block, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:23: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; U = Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; U = Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 1, -1, true> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 1, -1, true>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 1, -1, true> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:23: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 1, -1, true>; U = Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:59: required from ‘static void Eigen::internal::triangular_product_impl::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix; int Mode = 2; bool LhsIsTriangular = false; Lhs = Eigen::Matrix; Rhs = const Eigen::Transpose >; typename Dest::Scalar = double]’ 457 | dst.topRows(diagSize) -= ((lhs_alpha-LhsScalar(1))*a_rhs).topRows(diagSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:783:113: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 783 | triangular_product_impl::run(dst, lhs, rhs.nestedExpression(), alpha); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:18:27: required from ‘stan::ref_type_t stan::math::to_ref(T&&) [with T = const Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >&; stan::ref_type_t = Eigen::Matrix]’ 18 | return std::forward(a); | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 27 | const auto& M_ref = to_ref(M); | ~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > >, -1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > >, -1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > >, -1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > >, -1, -1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > >, -1, -1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > >, -1, -1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:74: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 457 | dst.topRows(diagSize) -= ((lhs_alpha-LhsScalar(1))*a_rhs).topRows(diagSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:18:27: required from ‘stan::ref_type_t stan::math::to_ref(T&&) [with T = const Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >&; stan::ref_type_t = Eigen::Matrix]’ 18 | return std::forward(a); | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 27 | const auto& M_ref = to_ref(M); | ~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, -1, -1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, -1, -1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, -1, -1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:18:27: required from ‘stan::ref_type_t stan::math::to_ref(T&&) [with T = const Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >&; stan::ref_type_t = Eigen::Matrix]’ 18 | return std::forward(a); | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 27 | const auto& M_ref = to_ref(M); | ~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:462:59: required from ‘static void Eigen::internal::triangular_product_impl::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix; int Mode = 2; bool LhsIsTriangular = false; Lhs = Eigen::Matrix; Rhs = const Eigen::Transpose >; typename Dest::Scalar = double]’ 462 | dst.leftCols(diagSize) -= (rhs_alpha-RhsScalar(1))*a_lhs.leftCols(diagSize); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:783:113: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 783 | triangular_product_impl::run(dst, lhs, rhs.nestedExpression(), alpha); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:18:27: required from ‘stan::ref_type_t stan::math::to_ref(T&&) [with T = const Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >&; stan::ref_type_t = Eigen::Matrix]’ 18 | return std::forward(a); | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 27 | const auto& M_ref = to_ref(M); | ~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from ‘struct Eigen::internal::traits >’ 22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from ‘class Eigen::Matrix’ 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:150:68: required from ‘static void Eigen::internal::product_triangular_matrix_matrix::run(Index, Index, Index, const Scalar*, Index, const Scalar*, Index, Scalar*, Index, Index, const Scalar&, Eigen::internal::level3_blocking&) [with Scalar = double; Index = long int; int Mode = 1; int LhsStorageOrder = 0; bool ConjugateLhs = false; int RhsStorageOrder = 1; bool ConjugateRhs = false; int ResInnerStride = 1; int Version = 0]’ 150 | Matrix triangularBuffer(a); | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:443:12: required from ‘static void Eigen::internal::triangular_product_impl::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix; int Mode = 1; bool LhsIsTriangular = true; Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; typename Dest::Scalar = double]’ 438 | internal::product_triangular_matrix_matrix::Flags&RowMajorBit) ? RowMajor : ColMajor, LhsBlasTraits::NeedToConjugate, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | (internal::traits::Flags&RowMajorBit) ? RowMajor : ColMajor, RhsBlasTraits::NeedToConjugate, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | (internal::traits::Flags&RowMajorBit) ? RowMajor : ColMajor, Dest::InnerStrideAtCompileTime> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 443 | ::run( | ~~~~~^ 444 | stripedRows, stripedCols, stripedDepth, // sizes | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 445 | &lhs.coeffRef(0,0), lhs.outerStride(), // lhs info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 446 | &rhs.coeffRef(0,0), rhs.outerStride(), // rhs info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 447 | &dst.coeffRef(0,0), dst.innerStride(), dst.outerStride(), // result info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | actualAlpha, blocking | ~~~~~~~~~~~~~~~~~~~~~ 449 | ); | ~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:770:14: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 769 | triangular_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 770 | ::run(dst, lhs.nestedExpression(), rhs, alpha); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:123:20: required from ‘stan::math::arena_matrix::type>::value, void>::type>& stan::math::arena_matrix::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 123 | Base::operator=(a); | ~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:68:11: required from ‘stan::math::arena_matrix::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_eigen_t* = 0; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 68 | *this = other; | ~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/vari.hpp:722:9: required from ‘stan::math::vari_value::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix; typename stan::plain_type::type = Eigen::Matrix]’ 722 | : val_(x), | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from ‘stan::math::var_value::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type = void; typename stan::value_type::type = double]’ 366 | var_value(S&& x) : vi_(new vari_type(std::forward(x), false)) {} // NOLINT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:27: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 27 | arena_t res = arena_L_val.template triangularView() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | * arena_L_val.transpose(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:123:20: required from ‘stan::math::arena_matrix::type>::value, void>::type>& stan::math::arena_matrix::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 123 | Base::operator=(a); | ~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:68:11: required from ‘stan::math::arena_matrix::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_eigen_t* = 0; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 68 | *this = other; | ~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/vari.hpp:722:9: required from ‘stan::math::vari_value::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix; typename stan::plain_type::type = Eigen::Matrix]’ 722 | : val_(x), | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from ‘stan::math::var_value::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type = void; typename stan::value_type::type = double]’ 366 | var_value(S&& x) : vi_(new vari_type(std::forward(x), false)) {} // NOLINT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:27: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 27 | arena_t res = arena_L_val.template triangularView() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | * arena_L_val.transpose(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from ‘class Eigen::Diagonal, 0>’ 63 | template class Diagonal | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:153:32: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 153 | triangularBuffer.diagonal().setZero(); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:123:20: required from ‘stan::math::arena_matrix::type>::value, void>::type>& stan::math::arena_matrix::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 123 | Base::operator=(a); | ~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:68:11: required from ‘stan::math::arena_matrix::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_eigen_t* = 0; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 68 | *this = other; | ~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/vari.hpp:722:9: required from ‘stan::math::vari_value::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix; typename stan::plain_type::type = Eigen::Matrix]’ 722 | : val_(x), | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from ‘stan::math::var_value::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type = void; typename stan::value_type::type = double]’ 366 | var_value(S&& x) : vi_(new vari_type(std::forward(x), false)) {} // NOLINT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:27: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 27 | arena_t res = arena_L_val.template triangularView() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | * arena_L_val.transpose(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of ‘struct Eigen::internal::find_best_packet’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:179:81: required from ‘class Eigen::DenseBase, 0> >’ 179 | typedef typename internal::find_best_packet::type PacketScalar; | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from ‘class Eigen::Diagonal, 0>’ 63 | template class Diagonal | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:153:32: required from ‘static void Eigen::internal::product_triangular_matrix_matrix::run(Index, Index, Index, const Scalar*, Index, const Scalar*, Index, Scalar*, Index, Index, const Scalar&, Eigen::internal::level3_blocking&) [with Scalar = double; Index = long int; int Mode = 1; int LhsStorageOrder = 0; bool ConjugateLhs = false; int RhsStorageOrder = 1; bool ConjugateRhs = false; int ResInnerStride = 1; int Version = 0]’ 153 | triangularBuffer.diagonal().setZero(); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:443:12: required from ‘static void Eigen::internal::triangular_product_impl::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix; int Mode = 1; bool LhsIsTriangular = true; Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; typename Dest::Scalar = double]’ 438 | internal::product_triangular_matrix_matrix::Flags&RowMajorBit) ? RowMajor : ColMajor, LhsBlasTraits::NeedToConjugate, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | (internal::traits::Flags&RowMajorBit) ? RowMajor : ColMajor, RhsBlasTraits::NeedToConjugate, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | (internal::traits::Flags&RowMajorBit) ? RowMajor : ColMajor, Dest::InnerStrideAtCompileTime> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 443 | ::run( | ~~~~~^ 444 | stripedRows, stripedCols, stripedDepth, // sizes | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 445 | &lhs.coeffRef(0,0), lhs.outerStride(), // lhs info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 446 | &rhs.coeffRef(0,0), rhs.outerStride(), // rhs info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 447 | &dst.coeffRef(0,0), dst.innerStride(), dst.outerStride(), // result info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | actualAlpha, blocking | ~~~~~~~~~~~~~~~~~~~~~ 449 | ); | ~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:770:14: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 769 | triangular_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 770 | ::run(dst, lhs.nestedExpression(), rhs, alpha); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:123:20: required from ‘stan::math::arena_matrix::type>::value, void>::type>& stan::math::arena_matrix::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 123 | Base::operator=(a); | ~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:68:11: required from ‘stan::math::arena_matrix::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_eigen_t* = 0; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 68 | *this = other; | ~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/vari.hpp:722:9: required from ‘stan::math::vari_value::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix; typename stan::plain_type::type = Eigen::Matrix]’ 722 | : val_(x), | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from ‘stan::math::var_value::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type = void; typename stan::value_type::type = double]’ 366 | var_value(S&& x) : vi_(new vari_type(std::forward(x), false)) {} // NOLINT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:27: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 27 | arena_t res = arena_L_val.template triangularView() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | * arena_L_val.transpose(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 190 | bool Stop = Size==Dynamic || (Size%unpacket_traits::size)==0 || is_same::half>::value> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/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] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 208 | typedef typename find_best_packet_helper::type>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, 1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, 1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> >, 1, -1, true>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:23: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~^~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, true>; U = Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:379:43: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 379 | dest.coeffRef(i) += alpha * (lhs.row(i).cwiseProduct(actual_rhs.transpose())).sum(); | ~~~~~~~^~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:379:80: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 379 | dest.coeffRef(i) += alpha * (lhs.row(i).cwiseProduct(actual_rhs.transpose())).sum(); | ~~~~~~~~~~~~~~~~~~~~^~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:379:59: required from ‘static void Eigen::internal::gemv_dense_selector<2, 1, false>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Dest = Eigen::Transpose >; typename Dest::Scalar = double]’ 379 | dest.coeffRef(i) += alpha * (lhs.row(i).cwiseProduct(actual_rhs.transpose())).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:12: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 206 | gemv_dense_selector | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:462:68: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 462 | call_restricted_packet_assignment_no_alias(dst, lhs.lazyProduct(rhs), func); | ~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of ‘void Eigen::internal::gemm_pack_lhs::operator()(Scalar*, const DataMapper&, Index, Index, Index, Index) [with Scalar = double; Index = long int; DataMapper = Eigen::internal::const_blas_data_mapper; int Pack1 = 4; int Pack2 = 2; Packet = __vector(2) double; bool Conjugate = false; bool PanelMode = false]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:184:17: required from ‘static void Eigen::internal::general_matrix_matrix_product::run(Index, Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, ResScalar, Eigen::internal::level3_blocking&, Eigen::internal::GemmParallelInfo*) [with Index = long int; LhsScalar = double; int LhsStorageOrder = 0; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 1; bool ConjugateRhs = false; int ResInnerStride = 1; ResScalar = double]’ 184 | pack_lhs(blockA, lhs.getSubMapper(i2,k2), actual_kc, actual_mc); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:230:14: required from ‘void Eigen::internal::gemm_functor::operator()(Index, Index, Index, Index, Eigen::internal::GemmParallelInfo*) const [with Scalar = double; Index = long int; Gemm = Eigen::internal::general_matrix_matrix_product; Lhs = Eigen::Matrix; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Dest = Eigen::Matrix; BlockingType = Eigen::internal::gemm_blocking_space<0, double, double, -1, -1, -1, 1, false>]’ 230 | Gemm::run(rows, cols, m_lhs.cols(), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 231 | &m_lhs.coeffRef(row,0), m_lhs.outerStride(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232 | &m_rhs.coeffRef(0,col), m_rhs.outerStride(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | (Scalar*)&(m_dest.coeffRef(row,col)), m_dest.innerStride(), m_dest.outerStride(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | m_actualAlpha, m_blocking, info); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/Parallelizer.h:114:7: required from ‘void Eigen::internal::parallelize_gemm(const Functor&, Index, Index, Index, bool) [with bool Condition = true; Functor = gemm_functor, Eigen::Matrix, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix, gemm_blocking_space<0, double, double, -1, -1, -1, 1, false> >; Index = long int]’ 114 | func(0,rows, 0,cols); | ~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:509:9: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Scalar = double]’ 508 | internal::parallelize_gemm<(Dest::MaxRowsAtCompileTime>32 || Dest::MaxRowsAtCompileTime==Dynamic)> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 509 | (GemmFunctor(lhs, rhs, dst, actualAlpha, blocking), a_lhs.rows(), a_rhs.cols(), a_lhs.cols(), Dest::Flags&RowMajorBit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 148 | generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2100:82: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] 2100 | typedef typename unpacket_traits::half>::half QuarterPacket; | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2102:56: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] 2102 | HalfPacketSize = unpacket_traits::size, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2103:62: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] 2103 | QuarterPacketSize = unpacket_traits::size, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2103:62: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 1, -1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, 1, -1, false> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, 1, -1, false> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:391:7: required from ‘Eigen::DenseCoeffsBase::Scalar& Eigen::DenseCoeffsBase::coeffRef(Eigen::Index) [with Derived = Eigen::Transpose, 1, -1, false> >; Scalar = double; Eigen::Index = long int]’ 391 | EIGEN_STATIC_ASSERT(internal::evaluator::Flags & LinearAccessBit, | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:379:20: required from ‘static void Eigen::internal::gemv_dense_selector<2, 1, false>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >; Dest = Eigen::Transpose, 1, -1, false> >; typename Dest::Scalar = double]’ 379 | dest.coeffRef(i) += alpha * (lhs.row(i).cwiseProduct(actual_rhs.transpose())).sum(); | ~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:12: required from ‘static void Eigen::internal::gemv_dense_selector<1, StorageOrder, BlasCompatible>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; Rhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Dest = Eigen::Block, 1, -1, false>; int StorageOrder = 0; bool BlasCompatible = false; typename Dest::Scalar = double]’ 206 | gemv_dense_selector | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:462:68: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 462 | call_restricted_packet_assignment_no_alias(dst, lhs.lazyProduct(rhs), func); | ~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:70: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:462:68: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 462 | call_restricted_packet_assignment_no_alias(dst, lhs.lazyProduct(rhs), func); | ~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:43: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> >, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:70: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:43: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:18:27: required from ‘stan::ref_type_t stan::math::to_ref(T&&) [with T = const Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >&; stan::ref_type_t = Eigen::Matrix]’ 18 | return std::forward(a); | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 27 | const auto& M_ref = to_ref(M); | ~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 0>, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 0>, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from ‘class Eigen::Diagonal, 0>’ 63 | template class Diagonal | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:303:32: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 303 | triangularBuffer.diagonal().setZero(); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:18:27: required from ‘stan::ref_type_t stan::math::to_ref(T&&) [with T = const Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >&; stan::ref_type_t = Eigen::Matrix]’ 18 | return std::forward(a); | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 27 | const auto& M_ref = to_ref(M); | ~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of ‘struct Eigen::internal::gemm_pack_rhs, 4, 1, false, true>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:310:84: required from ‘static void Eigen::internal::product_triangular_matrix_matrix::run(Index, Index, Index, const Scalar*, Index, const Scalar*, Index, Scalar*, Index, Index, const Scalar&, Eigen::internal::level3_blocking&) [with Scalar = double; Index = long int; int Mode = 2; int LhsStorageOrder = 0; bool ConjugateLhs = false; int RhsStorageOrder = 1; bool ConjugateRhs = false; int ResInnerStride = 1; int Version = 0]’ 310 | gemm_pack_rhs pack_rhs_panel; | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:443:12: required from ‘static void Eigen::internal::triangular_product_impl::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix; int Mode = 2; bool LhsIsTriangular = false; Lhs = Eigen::Matrix; Rhs = const Eigen::Transpose >; typename Dest::Scalar = double]’ 438 | internal::product_triangular_matrix_matrix::Flags&RowMajorBit) ? RowMajor : ColMajor, LhsBlasTraits::NeedToConjugate, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | (internal::traits::Flags&RowMajorBit) ? RowMajor : ColMajor, RhsBlasTraits::NeedToConjugate, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | (internal::traits::Flags&RowMajorBit) ? RowMajor : ColMajor, Dest::InnerStrideAtCompileTime> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 443 | ::run( | ~~~~~^ 444 | stripedRows, stripedCols, stripedDepth, // sizes | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 445 | &lhs.coeffRef(0,0), lhs.outerStride(), // lhs info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 446 | &rhs.coeffRef(0,0), rhs.outerStride(), // rhs info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 447 | &dst.coeffRef(0,0), dst.innerStride(), dst.outerStride(), // result info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | actualAlpha, blocking | ~~~~~~~~~~~~~~~~~~~~~ 449 | ); | ~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:783:113: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::Matrix; Rhs = Eigen::TriangularView >, 2>; int ProductTag = 8; Scalar = double]’ 783 | triangular_product_impl::run(dst, lhs, rhs.nestedExpression(), alpha); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:361:27: required from ‘static void Eigen::internal::generic_product_impl_base::scaleAndAddTo(Dst&, const Lhs&, const Rhs&, const Scalar&) [with Dst = Eigen::Matrix; Lhs = Eigen::Matrix; Rhs = Eigen::TriangularView >, 2>; Derived = Eigen::internal::generic_product_impl, Eigen::TriangularView >, 2>, Eigen::DenseShape, Eigen::TriangularShape, 8>; Scalar = double]’ 361 | { Derived::scaleAndAddTo(dst,lhs,rhs,alpha); } | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:349:33: required from ‘static void Eigen::internal::generic_product_impl_base::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::Matrix; Rhs = Eigen::TriangularView >, 2>; Derived = Eigen::internal::generic_product_impl, Eigen::TriangularView >, 2>, Eigen::DenseShape, Eigen::TriangularShape, 8>]’ 349 | { dst.setZero(); scaleAndAddTo(dst, lhs, rhs, Scalar(1)); } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:124:75: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 124 | generic_product_impl::evalTo(m_result, xpr.lhs(), xpr.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:18:27: required from ‘stan::ref_type_t stan::math::to_ref(T&&) [with T = const Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >&; stan::ref_type_t = Eigen::Matrix]’ 18 | return std::forward(a); | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 27 | const auto& M_ref = to_ref(M); | ~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2504:50: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 2504 | typedef typename unpacket_traits::half HalfPacket; | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2505:82: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 2505 | typedef typename unpacket_traits::half>::half QuarterPacket; | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2505:82: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2508:56: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 2508 | HalfPacketSize = unpacket_traits::size, | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2508:56: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2509:70: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 2509 | QuarterPacketSize = unpacket_traits::size}; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2509:70: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2509:70: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half’ {aka ‘__m128d’} [-Wignored-attributes] /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true> >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true> >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true> > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block >, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:606:75: required from ‘const Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::CoeffReturnType Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::coeff(Eigen::Index, Eigen::Index) const [with Lhs = Eigen::Matrix; Rhs = Eigen::Transpose >; int ProductTag = 8; typename Eigen::internal::traits::Lhs>::Scalar = double; typename Eigen::Product::Lhs = Eigen::Matrix; typename Eigen::internal::traits::Rhs>::Scalar = double; typename Eigen::Product::Rhs = Eigen::Transpose >; CoeffReturnType = double; Eigen::Index = long int]’ 606 | return (m_lhs.row(row).transpose().cwiseProduct( m_rhs.col(col) )).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:654:63: required from ‘void Eigen::internal::generic_dense_assignment_kernel::assignCoeff(Eigen::Index, Eigen::Index) [with DstEvaluatorTypeT = Eigen::internal::evaluator >; SrcEvaluatorTypeT = Eigen::internal::evaluator, Eigen::Transpose >, 1> >; Functor = Eigen::internal::assign_op; int Version = 1; Eigen::Index = long int]’ 654 | m_functor.assignCoeff(m_dst.coeffRef(row,col), m_src.coeff(row,col)); | ~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:668:16: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 668 | assignCoeff(row, col); | ~~~~~~~~~~~^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Product, Eigen::Transpose >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 29 | return M_ref * M_ref.transpose(); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >’: /usr/local/lib/R/library/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, -1, -1, false>; SrcXprType = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false>; Functor = sub_assign_op]’ 774 | SrcEvaluatorType srcEvaluator(src); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block, -1, -1, false>; SrcXprType = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false>; Functor = Eigen::internal::sub_assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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, -1, -1, false>; Src = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false>; Func = sub_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Block, -1, -1, false>; Src = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false>; Func = sub_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:164:18: required from ‘Derived& Eigen::MatrixBase::operator-=(const Eigen::MatrixBase&) [with OtherDerived = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false>; Derived = Eigen::Block, -1, -1, false>]’ 164 | call_assignment(derived(), other.derived(), internal::sub_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:31: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 457 | dst.topRows(diagSize) -= ((lhs_alpha-LhsScalar(1))*a_rhs).topRows(diagSize); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map, 0, Eigen::Stride<0, 0> >; SrcXprType = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op]’ 856 | call_triangular_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::TriangularShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from ‘Derived& Eigen::DenseBase::operator+=(const Eigen::EigenBase&) [with OtherDerived = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Derived = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 145 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 31 | arena_L.adj() += ((res.adj().transpose() + res.adj()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | * arena_L_val.template triangularView()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | .template triangularView(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, -1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:780:20: required from ‘void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block, -1, -1, false>; SrcXprType = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false>; Functor = sub_assign_op]’ 780 | DstEvaluatorType dstEvaluator(dst); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block, -1, -1, false>; SrcXprType = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false>; Functor = Eigen::internal::sub_assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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, -1, -1, false>; Src = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false>; Func = sub_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Block, -1, -1, false>; Src = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false>; Func = sub_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:164:18: required from ‘Derived& Eigen::MatrixBase::operator-=(const Eigen::MatrixBase&) [with OtherDerived = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false>; Derived = Eigen::Block, -1, -1, false>]’ 164 | call_assignment(derived(), other.derived(), internal::sub_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:31: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 457 | dst.topRows(diagSize) -= ((lhs_alpha-LhsScalar(1))*a_rhs).topRows(diagSize); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map, 0, Eigen::Stride<0, 0> >; SrcXprType = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op]’ 856 | call_triangular_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::TriangularShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from ‘Derived& Eigen::DenseBase::operator+=(const Eigen::EigenBase&) [with OtherDerived = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Derived = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 145 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 31 | arena_L.adj() += ((res.adj().transpose() + res.adj()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | * arena_L_val.template triangularView()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | .template triangularView(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >; Functor = sub_assign_op]’ 774 | SrcEvaluatorType srcEvaluator(src); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >; Functor = Eigen::internal::sub_assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map, 0, Eigen::Stride<0, 0> >; SrcXprType = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op]’ 856 | call_triangular_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::TriangularShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from ‘Derived& Eigen::DenseBase::operator+=(const Eigen::EigenBase&) [with OtherDerived = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Derived = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 145 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 31 | arena_L.adj() += ((res.adj().transpose() + res.adj()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | * arena_L_val.template triangularView()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | .template triangularView(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:780:20: required from ‘void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >; Functor = sub_assign_op]’ 780 | DstEvaluatorType dstEvaluator(dst); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >; Functor = Eigen::internal::sub_assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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, -1, -1, true>; Src = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >; Func = sub_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Block, -1, -1, true>; Src = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >; Func = sub_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:164:18: required from ‘Derived& Eigen::MatrixBase::operator-=(const Eigen::MatrixBase&) [with OtherDerived = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, -1, -1, false> >; Derived = Eigen::Block, -1, -1, true>]’ 164 | call_assignment(derived(), other.derived(), internal::sub_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:462:32: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 462 | dst.leftCols(diagSize) -= (rhs_alpha-RhsScalar(1))*a_lhs.leftCols(diagSize); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map, 0, Eigen::Stride<0, 0> >; SrcXprType = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op]’ 856 | call_triangular_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Map, 0, Eigen::Stride<0, 0> >; Src = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Func = add_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::TriangularShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from ‘Derived& Eigen::DenseBase::operator+=(const Eigen::EigenBase&) [with OtherDerived = Eigen::TriangularView, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, const Eigen::Map, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView, 0, Eigen::Stride<0, 0> >, 1>, 0>, 1>; Derived = Eigen::Map, 0, Eigen::Stride<0, 0> >]’ 145 | call_assignment(derived(), other.derived(), internal::add_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 31 | arena_L.adj() += ((res.adj().transpose() + res.adj()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | * arena_L_val.template triangularView()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | .template triangularView(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > > >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > > > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > > > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > > >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:43: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> > >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> > >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 1, -1, false>, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 1, -1, false>, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, 1, -1, false>, 1, -1, true> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, 1, -1, false>, 1, -1, true> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 1, -1, false>, 1, -1, true> > >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, 1, true>, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, 1, true>, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, -1, 1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, -1, 1, true> > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:26: required from ‘static void Eigen::internal::gemv_dense_selector<1, StorageOrder, BlasCompatible>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, false>; Rhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Dest = Eigen::Block, 1, -1, false>; int StorageOrder = 0; bool BlasCompatible = false; typename Dest::Scalar = double]’ 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:366:43: required from ‘static void Eigen::internal::gemv_dense_selector<2, 0, false>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>; Dest = Eigen::Block, -1, 1, true>; typename Dest::Scalar = double]’ 366 | dest += (alpha*actual_rhs.coeff(k)) * lhs.col(k); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:43: required from ‘static void Eigen::internal::gemv_dense_selector<1, StorageOrder, BlasCompatible>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>; Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Dest = Eigen::Block, 1, -1, false>; int StorageOrder = 0; bool BlasCompatible = true; typename Dest::Scalar = double]’ 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, 1, -1, true> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, 1, -1, true> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 1, -1, true> > >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:47:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 47 | arena_A.adj() += res_adj * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:43: required from ‘static void Eigen::internal::gemv_dense_selector<1, StorageOrder, BlasCompatible>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::CwiseUnaryOp, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Dest = Eigen::Matrix; int StorageOrder = 0; bool BlasCompatible = true; typename Dest::Scalar = double]’ 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:347:30: required from ‘Derived& Eigen::DenseBase::setConstant(const Scalar&) [with Derived = Eigen::Matrix; Scalar = double]’ 347 | return derived() = Constant(rows(), cols(), val); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:548:10: required from ‘Derived& Eigen::DenseBase::setZero() [with Derived = Eigen::Matrix]’ 548 | return setConstant(Scalar(0)); | ^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:151:29: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 151 | triangularBuffer.setZero(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:123:20: required from ‘stan::math::arena_matrix::type>::value, void>::type>& stan::math::arena_matrix::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 123 | Base::operator=(a); | ~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:68:11: required from ‘stan::math::arena_matrix::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_eigen_t* = 0; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 68 | *this = other; | ~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/vari.hpp:722:9: required from ‘stan::math::vari_value::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix; typename stan::plain_type::type = Eigen::Matrix]’ 722 | : val_(x), | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from ‘stan::math::var_value::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type = void; typename stan::value_type::type = double]’ 366 | var_value(S&& x) : vi_(new vari_type(std::forward(x), false)) {} // NOLINT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:27: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 27 | arena_t res = arena_L_val.template triangularView() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | * arena_L_val.transpose(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:347:30: required from ‘Derived& Eigen::DenseBase::setConstant(const Scalar&) [with Derived = Eigen::Diagonal, 0>; Scalar = double]’ 347 | return derived() = Constant(rows(), cols(), val); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:548:10: required from ‘Derived& Eigen::DenseBase::setZero() [with Derived = Eigen::Diagonal, 0>]’ 548 | return setConstant(Scalar(0)); | ^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:153:42: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 153 | triangularBuffer.diagonal().setZero(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:123:20: required from ‘stan::math::arena_matrix::type>::value, void>::type>& stan::math::arena_matrix::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 123 | Base::operator=(a); | ~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:68:11: required from ‘stan::math::arena_matrix::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_eigen_t* = 0; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 68 | *this = other; | ~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/vari.hpp:722:9: required from ‘stan::math::vari_value::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix; typename stan::plain_type::type = Eigen::Matrix]’ 722 | : val_(x), | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from ‘stan::math::var_value::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type = void; typename stan::value_type::type = double]’ 366 | var_value(S&& x) : vi_(new vari_type(std::forward(x), false)) {} // NOLINT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:27: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 27 | arena_t res = arena_L_val.template triangularView() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | * arena_L_val.transpose(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, 1, -1, true> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, 1, -1, true> > >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, false>; U = Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:23: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true>; U = Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> > >, -1, 1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 17 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:606:52: required from ‘const Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::CoeffReturnType Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::coeff(Eigen::Index, Eigen::Index) const [with Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; int ProductTag = 8; typename Eigen::internal::traits::Lhs>::Scalar = double; typename Eigen::Product::Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; typename Eigen::internal::traits::Rhs>::Scalar = double; typename Eigen::Product::Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; CoeffReturnType = double; Eigen::Index = long int]’ 606 | return (m_lhs.row(row).transpose().cwiseProduct( m_rhs.col(col) )).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:654:63: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 654 | m_functor.assignCoeff(m_dst.coeffRef(row,col), m_src.coeff(row,col)); | ~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense, 0, Eigen::Stride<0, 0> > >, 1, -1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 17 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:606:37: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 606 | return (m_lhs.row(row).transpose().cwiseProduct( m_rhs.col(col) )).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:606:52: required from ‘const Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::CoeffReturnType Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::coeff(Eigen::Index, Eigen::Index) const [with Lhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; int ProductTag = 8; typename Eigen::internal::traits::Lhs>::Scalar = double; typename Eigen::Product::Lhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; typename Eigen::internal::traits::Rhs>::Scalar = double; typename Eigen::Product::Rhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; CoeffReturnType = double; Eigen::Index = long int]’ 606 | return (m_lhs.row(row).transpose().cwiseProduct( m_rhs.col(col) )).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:654:63: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 654 | m_functor.assignCoeff(m_dst.coeffRef(row,col), m_src.coeff(row,col)); | ~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, false>; U = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true>; U = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:379:43: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 379 | dest.coeffRef(i) += alpha * (lhs.row(i).cwiseProduct(actual_rhs.transpose())).sum(); | ~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, 1, -1, false> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, 1, -1, false> > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:379:80: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 379 | dest.coeffRef(i) += alpha * (lhs.row(i).cwiseProduct(actual_rhs.transpose())).sum(); | ~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:379:59: required from ‘static void Eigen::internal::gemv_dense_selector<2, 1, false>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; Dest = Eigen::Transpose, 1, -1, false> >; typename Dest::Scalar = double]’ 379 | dest.coeffRef(i) += alpha * (lhs.row(i).cwiseProduct(actual_rhs.transpose())).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:12: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 206 | gemv_dense_selector | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>; U = Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:23: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true>; U = Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true>; U = Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, false>; U = Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, false>; U = Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>; U = Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, true>; U = Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, true>; U = Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:379:59: required from ‘static void Eigen::internal::gemv_dense_selector<2, 1, false>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Dest = Eigen::Transpose >; typename Dest::Scalar = double]’ 379 | dest.coeffRef(i) += alpha * (lhs.row(i).cwiseProduct(actual_rhs.transpose())).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:12: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 206 | gemv_dense_selector | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:23: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; U = Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; U = Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Matrix >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Matrix > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Matrix > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Matrix >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:347:30: required from ‘Derived& Eigen::DenseBase::setConstant(const Scalar&) [with Derived = Eigen::Matrix; Scalar = double]’ 347 | return derived() = Constant(rows(), cols(), val); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:548:10: required from ‘Derived& Eigen::DenseBase::setZero() [with Derived = Eigen::Matrix]’ 548 | return setConstant(Scalar(0)); | ^~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:301:29: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 301 | triangularBuffer.setZero(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:18:27: required from ‘stan::ref_type_t stan::math::to_ref(T&&) [with T = const Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >&; stan::ref_type_t = Eigen::Matrix]’ 18 | return std::forward(a); | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 27 | const auto& M_ref = to_ref(M); | ~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:63: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; U = Eigen::Block, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from ‘typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType Eigen::MatrixBase::dot(const Eigen::MatrixBase&) const [with OtherDerived = Eigen::Block, -1, 1, true>; Derived = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType = double; typename Eigen::internal::traits::Scalar = double; typename Eigen::internal::traits::Scalar = double]’ 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:62: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, 1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:412:49: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 412 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, -1, 1, true> >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, -1, 1, true> >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, -1, 1, true> > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true>, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:63: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; U = Eigen::Block, -1, 1, true>, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from ‘typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType Eigen::MatrixBase::dot(const Eigen::MatrixBase&) const [with OtherDerived = Eigen::Block, -1, 1, true>, -1, 1, true>; Derived = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType = double; typename Eigen::internal::traits::Scalar = double; typename Eigen::internal::traits::Scalar = double]’ 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:62: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:63: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true>; U = Eigen::Block, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from ‘typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType Eigen::MatrixBase::dot(const Eigen::MatrixBase&) const [with OtherDerived = Eigen::Block, -1, 1, true>; Derived = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>, 1, -1, true>; typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType = double; typename Eigen::internal::traits::Scalar = double; typename Eigen::internal::traits::Scalar = double]’ 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:62: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:63: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; U = Eigen::Block, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from ‘typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType Eigen::MatrixBase::dot(const Eigen::MatrixBase&) const [with OtherDerived = Eigen::Block, -1, 1, true>; Derived = Eigen::Block, 0, Eigen::Stride<0, 0> > >, 1, -1, true>; typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType = double; typename Eigen::internal::traits::Scalar = double; typename Eigen::internal::traits::Scalar = double]’ 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:62: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:48:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 48 | arena_B.adj() += arena_A_val.transpose() * res_adj; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from ‘class Eigen::PlainObjectBase >’ 98 | class PlainObjectBase : public internal::dense_xpr_base::type | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: [ skipping 18 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 178 | class Matrix | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:123:20: required from ‘stan::math::arena_matrix::type>::value, void>::type>& stan::math::arena_matrix::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 123 | Base::operator=(a); | ~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:68:11: required from ‘stan::math::arena_matrix::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_eigen_t* = 0; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 68 | *this = other; | ~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/vari.hpp:722:9: required from ‘stan::math::vari_value::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix; typename stan::plain_type::type = Eigen::Matrix]’ 722 | : val_(x), | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from ‘stan::math::var_value::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type = void; typename stan::value_type::type = double]’ 366 | var_value(S&& x) : vi_(new vari_type(std::forward(x), false)) {} // NOLINT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:27: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 27 | arena_t res = arena_L_val.template triangularView() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | * arena_L_val.transpose(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, -1, -1, true> >’: /usr/local/lib/R/library/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, -1, -1, false>; SrcXprType = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, -1, -1, true>; Functor = sub_assign_op]’ 774 | SrcEvaluatorType srcEvaluator(src); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block, -1, -1, false>; SrcXprType = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, -1, -1, true>; Functor = Eigen::internal::sub_assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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, -1, -1, false>; Src = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, -1, -1, true>; Func = sub_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Block, -1, -1, false>; Src = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, -1, -1, true>; Func = sub_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:164:18: required from ‘Derived& Eigen::MatrixBase::operator-=(const Eigen::MatrixBase&) [with OtherDerived = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > >, -1, -1, true>; Derived = Eigen::Block, -1, -1, false>]’ 164 | call_assignment(derived(), other.derived(), internal::sub_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:31: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 457 | dst.topRows(diagSize) -= ((lhs_alpha-LhsScalar(1))*a_rhs).topRows(diagSize); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:123:20: required from ‘stan::math::arena_matrix::type>::value, void>::type>& stan::math::arena_matrix::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 123 | Base::operator=(a); | ~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:68:11: required from ‘stan::math::arena_matrix::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_eigen_t* = 0; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 68 | *this = other; | ~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/vari.hpp:722:9: required from ‘stan::math::vari_value::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix; typename stan::plain_type::type = Eigen::Matrix]’ 722 | : val_(x), | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from ‘stan::math::var_value::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type = void; typename stan::value_type::type = double]’ 366 | var_value(S&& x) : vi_(new vari_type(std::forward(x), false)) {} // NOLINT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:27: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 27 | arena_t res = arena_L_val.template triangularView() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | * arena_L_val.transpose(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, -1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, -1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, -1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, -1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, -1, true> >; Functor = sub_assign_op]’ 774 | SrcEvaluatorType srcEvaluator(src); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, -1, true> >; Functor = Eigen::internal::sub_assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:123:20: required from ‘stan::math::arena_matrix::type>::value, void>::type>& stan::math::arena_matrix::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 123 | Base::operator=(a); | ~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:68:11: required from ‘stan::math::arena_matrix::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_eigen_t* = 0; MatrixType = Eigen::Matrix; typename std::enable_if::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix]’ 68 | *this = other; | ~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/vari.hpp:722:9: required from ‘stan::math::vari_value::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::type, typename stan::plain_type::type>, stan::is_eigen_dense_base >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix; typename stan::plain_type::type = Eigen::Matrix]’ 722 | : val_(x), | ^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from ‘stan::math::var_value::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 0>; stan::require_assignable_t* = 0; T = Eigen::Matrix; typename std::enable_if::value || stan::is_kernel_expression_and_not_scalar::value) && std::is_floating_point::type>::value)>::value, void>::type = void; typename stan::value_type::type = double]’ 366 | var_value(S&& x) : vi_(new vari_type(std::forward(x), false)) {} // NOLINT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:27: required from ‘auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value >; stan::require_rev_matrix_t* = 0]’ 27 | arena_t res = arena_L_val.template triangularView() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | * arena_L_val.transpose(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/cov_matrix_constrain.hpp:59:43: required from here 59 | return multiply_lower_tri_self_transpose(L); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:63: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, true>; U = Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from ‘typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType Eigen::MatrixBase::dot(const Eigen::MatrixBase&) const [with OtherDerived = Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >, -1, 1, true>; Derived = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, true>; typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType = double; typename Eigen::internal::traits::Scalar = double; typename Eigen::internal::traits::Scalar = double]’ 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:62: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::Block, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > > > >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:379:88: required from ‘static void Eigen::internal::gemv_dense_selector<2, 1, false>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix > >; Rhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Dest = Eigen::Transpose >; typename Dest::Scalar = double]’ 379 | dest.coeffRef(i) += alpha * (lhs.row(i).cwiseProduct(actual_rhs.transpose())).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:12: required from ‘static void Eigen::internal::gemv_dense_selector<1, StorageOrder, BlasCompatible>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Rhs = Eigen::CwiseBinaryOp, const Eigen::Map, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix >; Dest = Eigen::Matrix; int StorageOrder = 0; bool BlasCompatible = false; typename Dest::Scalar = double]’ 206 | gemv_dense_selector | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/util/initialize.hpp:129:58: required from ‘std::vector stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = false; Model = model_multinom_namespace::model_multinom; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >]’ 129 | log_prob = model.template log_prob(unconstrained, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 130 | disc_vector, &msg); | ~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/services/optimize/lbfgs.hpp:65:60: required from ‘int stan::services::optimize::lbfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_multinom_namespace::model_multinom; bool jacobian = false]’ 65 | std::vector cont_vector = util::initialize( | ~~~~~~~~~~~~~~~~~~~~~~~^ 66 | model, init, rng, init_radius, false, logger, init_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:457:42: required from ‘int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector&, const std::vector >&, RNG_t&) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; Rcpp::List = Rcpp::Vector<19>]’ 457 | = stan::services::optimize::lbfgs(model, *init_context_ptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | random_seed, id, init_radius, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | history_size, | ~~~~~~~~~~~~~ 460 | init_alpha, | ~~~~~~~~~~~ 461 | tol_obj, | ~~~~~~~~ 462 | tol_rel_obj, | ~~~~~~~~~~~~ 463 | tol_grad, | ~~~~~~~~~ 464 | tol_rel_grad, | ~~~~~~~~~~~~~ 465 | tol_param, | ~~~~~~~~~~ 466 | num_iterations, | ~~~~~~~~~~~~~~~ 467 | save_iterations, | ~~~~~~~~~~~~~~~~ 468 | refresh, | ~~~~~~~~ 469 | interrupt, logger, | ~~~~~~~~~~~~~~~~~~ 470 | init_writer, sample_writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:780:18: required from ‘SEXPREC* rstan::stan_fit::call_sampler(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 780 | ret = command(args, model_, holder, names_oi_tidx_, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | fnames_oi_, base_rng); | ~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:15:87: required from here 15 | .method("call_sampler", &rstan::stan_fit ::call_sampler) | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> > >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 19 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> > >, -1, 1, false> >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:43:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 43 | arena_A.adj() += res.adj_op() * arena_B_val.transpose(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 19 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> > > >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> > > > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> > > > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Block, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1, -1, true>, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> > > >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> > >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 19 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::CwiseUnaryOp, -1, -1>, void>::apply(const Eigen::Matrix, -1, -1>&)::, const Eigen::Matrix, -1, -1> >; T2 = Eigen::Map, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:424:37: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 424 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> > >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 19 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > >, -1, -1, true> >’: /usr/local/lib/R/library/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, -1, -1, false>; SrcXprType = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > >, -1, -1, true>; Functor = sub_assign_op]’ 774 | SrcEvaluatorType srcEvaluator(src); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block, -1, -1, false>; SrcXprType = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > >, -1, -1, true>; Functor = Eigen::internal::sub_assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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, -1, -1, false>; Src = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > >, -1, -1, true>; Func = sub_assign_op]’ 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::value), void*>::type) [with Dst = Eigen::Block, -1, -1, false>; Src = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > >, -1, -1, true>; Func = sub_assign_op; typename enable_if<(! evaluator_assume_aliasing::value), void*>::type = void*; typename evaluator_traits::Shape = Eigen::DenseShape]’ 858 | call_assignment_no_alias(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:164:18: required from ‘Derived& Eigen::MatrixBase::operator-=(const Eigen::MatrixBase&) [with OtherDerived = Eigen::Block, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Transpose > >, -1, -1, true>; Derived = Eigen::Block, -1, -1, false>]’ 164 | call_assignment(derived(), other.derived(), internal::sub_assign_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:31: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 457 | dst.topRows(diagSize) -= ((lhs_alpha-LhsScalar(1))*a_rhs).topRows(diagSize); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:18:27: required from ‘stan::ref_type_t stan::math::to_ref(T&&) [with T = const Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >&; stan::ref_type_t = Eigen::Matrix]’ 18 | return std::forward(a); | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 27 | const auto& M_ref = to_ref(M); | ~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, -1, -1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, -1, -1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1, true> >; Functor = sub_assign_op]’ 774 | SrcEvaluatorType srcEvaluator(src); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, -1, -1, true> >; Functor = Eigen::internal::sub_assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from ‘Eigen::PlainObjectBase::PlainObjectBase(const Eigen::DenseBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; Derived = Eigen::Matrix]’ 594 | _set_noalias(other); | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase&) [with OtherDerived = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]’ 423 | : Base(other.derived()) | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:18:27: required from ‘stan::ref_type_t stan::math::to_ref(T&&) [with T = const Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >&; stan::ref_type_t = Eigen::Matrix]’ 18 | return std::forward(a); | ^ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from ‘Eigen::Matrix::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose, Eigen::TriangularView >, 2>, 0> >; stan::require_eigen_vt* = 0; typename stan::value_type::type = double]’ 27 | const auto& M_ref = to_ref(M); | ~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from ‘auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product, Eigen::TriangularView >, 2>, 0>; stan::require_eigen_t* = 0]’ 21 | return tcrossprod(M.transpose()); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here 34 | return crossprod(B * llt_of_S.matrixU()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:606:52: required from ‘const Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::CoeffReturnType Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::coeff(Eigen::Index, Eigen::Index) const [with Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; int ProductTag = 8; typename Eigen::internal::traits::Lhs>::Scalar = double; typename Eigen::Product::Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; typename Eigen::internal::traits::Rhs>::Scalar = double; typename Eigen::Product::Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; CoeffReturnType = double; Eigen::Index = long int]’ 606 | return (m_lhs.row(row).transpose().cwiseProduct( m_rhs.col(col) )).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:654:63: [ skipping 17 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 654 | m_functor.assignCoeff(m_dst.coeffRef(row,col), m_src.coeff(row,col)); | ~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:606:52: required from ‘const Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::CoeffReturnType Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::coeff(Eigen::Index, Eigen::Index) const [with Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Rhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; int ProductTag = 8; typename Eigen::internal::traits::Lhs>::Scalar = double; typename Eigen::Product::Lhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; typename Eigen::internal::traits::Rhs>::Scalar = double; typename Eigen::Product::Rhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; CoeffReturnType = double; Eigen::Index = long int]’ 606 | return (m_lhs.row(row).transpose().cwiseProduct( m_rhs.col(col) )).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:654:63: [ skipping 17 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 654 | m_functor.assignCoeff(m_dst.coeffRef(row,col), m_src.coeff(row,col)); | ~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:37: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 57 | arena_t res = arena_A * arena_B.val_op(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:606:52: required from ‘const Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::CoeffReturnType Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::coeff(Eigen::Index, Eigen::Index) const [with Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; int ProductTag = 8; typename Eigen::internal::traits::Lhs>::Scalar = double; typename Eigen::Product::Lhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; typename Eigen::internal::traits::Rhs>::Scalar = double; typename Eigen::Product::Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; CoeffReturnType = double; Eigen::Index = long int]’ 606 | return (m_lhs.row(row).transpose().cwiseProduct( m_rhs.col(col) )).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:654:63: [ skipping 17 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 654 | m_functor.assignCoeff(m_dst.coeffRef(row,col), m_src.coeff(row,col)); | ~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:68:46: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 68 | arena_t res = arena_A.val_op() * arena_B; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> > >, 1, -1, true> >, const Eigen::Block, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:606:75: required from ‘const Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::CoeffReturnType Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::coeff(Eigen::Index, Eigen::Index) const [with Lhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; int ProductTag = 8; typename Eigen::internal::traits::Lhs>::Scalar = double; typename Eigen::Product::Lhs = Eigen::Transpose, 0, Eigen::Stride<0, 0> > >; typename Eigen::internal::traits::Rhs>::Scalar = double; typename Eigen::Product::Rhs = Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >; CoeffReturnType = double; Eigen::Index = long int]’ 606 | return (m_lhs.row(row).transpose().cwiseProduct( m_rhs.col(col) )).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:654:63: required from ‘void Eigen::internal::generic_dense_assignment_kernel::assignCoeff(Eigen::Index, Eigen::Index) [with DstEvaluatorTypeT = Eigen::internal::evaluator >; SrcEvaluatorTypeT = Eigen::internal::evaluator, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1> >; Functor = Eigen::internal::assign_op; int Version = 1; Eigen::Index = long int]’ 654 | m_functor.assignCoeff(m_dst.coeffRef(row,col), m_src.coeff(row,col)); | ~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:668:16: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 668 | assignCoeff(row, col); | ~~~~~~~~~~~^~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:44:27: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 44 | arena_B.adj() += arena_A_val.transpose() * res.adj_op(); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:413:35: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 413 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, true> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:63: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, true>; U = Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from ‘typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType Eigen::MatrixBase::dot(const Eigen::MatrixBase&) const [with OtherDerived = Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>; Derived = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, true>; typename Eigen::ScalarBinaryOpTraits::Scalar, typename Eigen::internal::traits::Scalar>::ReturnType = double; typename Eigen::internal::traits::Scalar = double; typename Eigen::internal::traits::Scalar = double]’ 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:62: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/multiply.hpp:38:41: required from ‘auto stan::math::multiply(const T1&, const T2&) [with T1 = Eigen::Map, 0, Eigen::Stride<0, 0> >; T2 = Eigen::Matrix, -1, -1>; stan::require_all_matrix_t* = 0; stan::require_return_type_t* = 0; stan::require_not_row_and_col_vector_t* = 0]’ 38 | arena_t res = arena_A_val * arena_B_val; | ~~~~~~~~~~~~^~~~~~~~~~~~~ stanExports_multinom.h:430:46: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector, std::allocator > >; VecI = std::vector; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = stan::math::var_value; std::ostream = std::basic_ostream]’ 430 | stan::math::multiply(w, | ~~~~~~~~~~~~~~~~~~~~^~~ 431 | stan::math::elt_multiply(Y, lsft)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:935:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(std::vector&, std::vector&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value; std::ostream = std::basic_ostream]’ 935 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:79: required from ‘double stan::model::log_prob_grad(const M&, std::vector&, std::vector&, std::vector&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_multinom_namespace::model_multinom; std::ostream = std::basic_ostream]’ 40 | var adLogProb = model.template log_prob( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 41 | ad_params_r, params_i, msgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:748:49: required from ‘SEXPREC* rstan::stan_fit::grad_log_prob(SEXP, SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 748 | lp = stan::model::log_prob_grad(model_, par_r, par_i, gradient, &rstan::io::rcout); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:23:88: required from here 23 | .method("grad_log_prob", &rstan::stan_fit ::grad_log_prob) | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Block >, -1, 1, false>, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Block >, -1, 1, false>, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Block >, -1, 1, false>, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, const Eigen::Block >, -1, 1, false>, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, const Eigen::Block >, -1, 1, false>, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, const Eigen::Block >, -1, 1, false>, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 20 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, -1, 1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase >, -1, 1, false>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >, -1, 1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >, -1, 1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase >, -1, 1, false>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense >, -1, 1, false, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 23 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator >, -1, 1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator >, -1, 1, false> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from ‘struct Eigen::internal::plain_object_eval >, -1, 1, false>, Eigen::Dense>’ 372 | typedef typename plain_matrix_type_dense::XprKind, evaluator::Flags>::type type; | ^~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:370:45: required from ‘struct Eigen::internal::generic_product_impl, const Eigen::Block >, -1, 1, false>, Eigen::DenseShape, Eigen::DenseShape, 7>’ 370 | typedef typename nested_eval::type RhsNested; | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:479:24: required from ‘static void Eigen::internal::generic_product_impl::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix; Lhs = Eigen::Matrix; Rhs = Eigen::Transpose >; Scalar = double]’ 478 | return internal::generic_product_impl | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 479 | ::scaleAndAddTo(dst_vec, a_lhs, a_rhs.col(0), alpha); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from ‘static void Eigen::internal::generic_product_impl::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix; Lhs = Eigen::Matrix; Rhs = Eigen::Transpose >]’ 445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:124:75: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 124 | generic_product_impl::evalTo(m_result, xpr.lhs(), xpr.rhs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 1, -1, false>, Eigen::Transpose >, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 1, -1, false>, Eigen::Transpose >, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 1, -1, false>, Eigen::Transpose >, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 1, -1, false>, Eigen::Transpose >, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 1, -1, false>, Eigen::Transpose >, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 1, -1, false>, Eigen::Transpose >, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 20 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, const Eigen::Block, -1, 1, true>, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, const Eigen::Block, -1, 1, true>, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, const Eigen::Block, -1, 1, true>, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, const Eigen::Block, -1, 1, true>, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, const Eigen::Block, -1, 1, true>, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, const Eigen::Block, -1, 1, true>, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 21 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Matrix, 0>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Matrix, 0> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Matrix, 0> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Matrix, 0, 7>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Matrix, 0, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Matrix, 0>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 21 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 345 | typedef typename Product::Scalar Scalar; | ^~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Transpose >, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Transpose >, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, Eigen::Transpose >, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, Eigen::Transpose >, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, Eigen::Transpose >, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, Eigen::Transpose >, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:462:68: [ skipping 19 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 462 | call_restricted_packet_assignment_no_alias(dst, lhs.lazyProduct(rhs), func); | ~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase >, -1, 1, false>, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase >, -1, 1, false>, -1, 1, true>, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase >, -1, 1, false>, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase >, -1, 1, false>, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from ‘class Eigen::MapBase >, -1, 1, false>, -1, 1, true>, 0>’ 37 | template class MapBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from ‘class Eigen::internal::BlockImpl_dense >, -1, 1, false>, -1, 1, true, true>’ 329 | class BlockImpl_dense | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 21 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 1>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 1> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 1> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from ‘class Eigen::internal::dense_product_base, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 1, 8>’ 120 | class dense_product_base | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from ‘class Eigen::ProductImpl, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 1, Eigen::Dense>’ 152 | class ProductImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from ‘class Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 1>’ 71 | class Product : public ProductImpl<_Lhs,_Rhs,Option, | ^~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:462:68: [ skipping 20 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 462 | call_restricted_packet_assignment_no_alias(dst, lhs.lazyProduct(rhs), func); | ~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from ‘class Eigen::DenseCoeffsBase > >, 2>’ 481 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase > > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl >, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose > >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:26: [ skipping 20 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 207 | ::run(rhs.transpose(), lhs.transpose(), destT, alpha); | ~~~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block >, -1, 1, false>, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block >, -1, 1, false>, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block >, -1, 1, false>, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block >, -1, 1, false>, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block >, -1, 1, false>, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 1, -1, false>; U = Eigen::Block >, -1, 1, false>, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 20 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 1, -1, false>, 1, -1, true> >, const Eigen::Block >, -1, 1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 1, -1, false>, 1, -1, true> >, const Eigen::Block >, -1, 1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 1, -1, false>, 1, -1, true> >, const Eigen::Block >, -1, 1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 1, -1, false>, 1, -1, true> >, const Eigen::Block >, -1, 1, false>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, false>, 1, -1, true> >, const Eigen::Block >, -1, 1, false> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 1, -1, false>, 1, -1, true>; U = Eigen::Block >, -1, 1, false>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 20 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1, true>, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1, true>, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1, true>, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1, true>, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, const Eigen::Block, -1, 1, true>, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, false>; U = Eigen::Block, -1, 1, true>, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 21 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true> >, const Eigen::Block, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1, -1, true>; U = Eigen::Block, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 21 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator >, -1, 1, false>, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator >, -1, 1, false>, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block >, -1, 1, false>, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block >, -1, 1, false>, -1, 1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from ‘class Eigen::internal::redux_evaluator, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block >, -1, 1, false>, -1, 1, true> > >’ 357 | class redux_evaluator : public internal::evaluator<_XprType> | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block >, -1, 1, false>, -1, 1, true> >; typename Eigen::internal::traits::Scalar = double]’ 414 | ThisEvaluator thisEval(derived()); | ^~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 22 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block >, -1, 1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block >, -1, 1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block >, -1, 1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block >, -1, 1, false>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, 1, -1, false> >, const Eigen::Block >, -1, 1, false> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:606:52: required from ‘const Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::CoeffReturnType Eigen::internal::product_evaluator, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::coeff(Eigen::Index, Eigen::Index) const [with Lhs = Eigen::Matrix; Rhs = Eigen::Transpose >; int ProductTag = 8; typename Eigen::internal::traits::Lhs>::Scalar = double; typename Eigen::Product::Lhs = Eigen::Matrix; typename Eigen::internal::traits::Rhs>::Scalar = double; typename Eigen::Product::Rhs = Eigen::Transpose >; CoeffReturnType = double; Eigen::Index = long int]’ 606 | return (m_lhs.row(row).transpose().cwiseProduct( m_rhs.col(col) )).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:654:63: [ skipping 23 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 654 | m_functor.assignCoeff(m_dst.coeffRef(row,col), m_src.coeff(row,col)); | ~~~~~~~~~~~^~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::CwiseBinaryOp, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0>, const Eigen::Product, 0, Eigen::Stride<0, 0> >, Eigen::Matrix, 0> >, const Eigen::Transpose, Eigen::Transpose >, 0> > >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:549:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 549 | stan::model::assign(linpred, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 550 | stan::math::add( | ~~~~~~~~~~~~~~~~ 551 | stan::math::add(stan::math::multiply(int_col, intercept), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | stan::math::multiply(X, beta)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 554 | stan::math::multiply(Sigma, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | stan::math::transpose( | ~~~~~~~~~~~~~~~~~~~~~~ 556 | stan::model::rvalue(u, "u", stan::model::index_multi(grp)))))), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | "assigning variable linpred"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper > > >, 1, -1, false>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper > > >, 1, -1, false> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::ArrayWrapper > > >, 1, -1, false> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, const Eigen::ArrayWrapper > > >, 1, -1, false, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, const Eigen::ArrayWrapper > > >, 1, -1, false, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, const Eigen::ArrayWrapper > > >, 1, -1, false>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:43: [ skipping 34 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 380 | dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); | ~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:559:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 559 | stan::model::assign(lsft, | ~~~~~~~~~~~~~~~~~~~^~~~~~ 560 | stan::math::subtract(linpred, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 561 | stan::math::rep_matrix( | ~~~~~~~~~~~~~~~~~~~~~~~ 562 | stan::math::log( | ~~~~~~~~~~~~~~~~ 563 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 564 | "assigning variable lsft"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper > > >, -1, 1, true>, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper > > >, -1, 1, true> >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::ArrayWrapper > > >, -1, 1, true> >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from ‘class Eigen::internal::BlockImpl_dense, const Eigen::ArrayWrapper > > >, -1, 1, true, false>’ 172 | template class BlockImpl_dense | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from ‘class Eigen::BlockImpl, const Eigen::ArrayWrapper > > >, -1, 1, true, Eigen::Dense>’ 154 | class BlockImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from ‘class Eigen::Block, const Eigen::ArrayWrapper > > >, -1, 1, true>’ 103 | template class Block | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:366:52: [ skipping 35 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 366 | dest += (alpha*actual_rhs.coeff(k)) * lhs.col(k); | ~~~~~~~^~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:559:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 559 | stan::model::assign(lsft, | ~~~~~~~~~~~~~~~~~~~^~~~~~ 560 | stan::math::subtract(linpred, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 561 | stan::math::rep_matrix( | ~~~~~~~~~~~~~~~~~~~~~~~ 562 | stan::math::log( | ~~~~~~~~~~~~~~~~ 563 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 564 | "assigning variable lsft"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::ArrayWrapper > > >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::ArrayWrapper > > >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::ArrayWrapper > > >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::ArrayWrapper > > >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::ArrayWrapper > > >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:366:43: required from ‘static void Eigen::internal::gemv_dense_selector<2, 0, false>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::MatrixWrapper, const Eigen::ArrayWrapper > > >; Rhs = Eigen::Map, 0, Eigen::Stride<0, 0> >; Dest = Eigen::Matrix; typename Dest::Scalar = double]’ 366 | dest += (alpha*actual_rhs.coeff(k)) * lhs.col(k); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: [ skipping 34 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 385 | internal::gemv_dense_selector::HasUsableDirectAccess) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 388 | >::run(actual_lhs, actual_rhs, dst, alpha); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:559:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 559 | stan::model::assign(lsft, | ~~~~~~~~~~~~~~~~~~~^~~~~~ 560 | stan::math::subtract(linpred, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 561 | stan::math::rep_matrix( | ~~~~~~~~~~~~~~~~~~~~~~~ 562 | stan::math::log( | ~~~~~~~~~~~~~~~~ 563 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 564 | "assigning variable lsft"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::ArrayWrapper > > >, 1, -1, false> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::ArrayWrapper > > >, 1, -1, false> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::ArrayWrapper > > >, 1, -1, false> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from ‘class Eigen::TransposeImpl, const Eigen::ArrayWrapper > > >, 1, -1, false>, Eigen::Dense>’ 118 | template class TransposeImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from ‘class Eigen::Transpose, const Eigen::ArrayWrapper > > >, 1, -1, false> >’ 52 | template class Transpose | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:23: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, const Eigen::ArrayWrapper > > >, 1, -1, false>; U = Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~^~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 35 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:559:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 559 | stan::model::assign(lsft, | ~~~~~~~~~~~~~~~~~~~^~~~~~ 560 | stan::math::subtract(linpred, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 561 | stan::math::rep_matrix( | ~~~~~~~~~~~~~~~~~~~~~~~ 562 | stan::math::log( | ~~~~~~~~~~~~~~~~ 563 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 564 | "assigning variable lsft"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::Transpose, const Eigen::ArrayWrapper > > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::Transpose, const Eigen::ArrayWrapper > > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from ‘class Eigen::MatrixBase, const Eigen::Transpose, const Eigen::ArrayWrapper > > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> > >’ 48 | template class MatrixBase | ^~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::Transpose, const Eigen::ArrayWrapper > > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::Transpose, const Eigen::ArrayWrapper > > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from ‘static Eigen::internal::dot_nocheck::ResScalar Eigen::internal::dot_nocheck::run(const Eigen::MatrixBase&, const Eigen::MatrixBase&) [with T = Eigen::Block, const Eigen::ArrayWrapper > > >, 1, -1, false>; U = Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true>; ResScalar = double]’ 50 | return a.transpose().template binaryExpr(b).sum(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 35 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 84 | return internal::dot_nocheck::run(*this, other); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:559:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 559 | stan::model::assign(lsft, | ~~~~~~~~~~~~~~~~~~~^~~~~~ 560 | stan::math::subtract(linpred, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 561 | stan::math::rep_matrix( | ~~~~~~~~~~~~~~~~~~~~~~~ 562 | stan::math::log( | ~~~~~~~~~~~~~~~~ 563 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 564 | "assigning variable lsft"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, const Eigen::ArrayWrapper > > >, 1, -1, false> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, const Eigen::ArrayWrapper > > >, 1, -1, false> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from ‘struct Eigen::internal::unary_evaluator, const Eigen::ArrayWrapper > > >, 1, -1, false> >, Eigen::internal::IndexBased, double>’ 311 | CoeffReadCost = evaluator::CoeffReadCost, | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from ‘struct Eigen::internal::evaluator, const Eigen::ArrayWrapper > > >, 1, -1, false> > >’ 90 | struct evaluator : public unary_evaluator | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, const Eigen::ArrayWrapper > > >, 1, -1, false> > >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::Transpose, const Eigen::ArrayWrapper > > >, 1, -1, false> >, const Eigen::Block, 0, Eigen::Stride<0, 0> >, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 40 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:559:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 559 | stan::model::assign(lsft, | ~~~~~~~~~~~~~~~~~~~^~~~~~ 560 | stan::math::subtract(linpred, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 561 | stan::math::rep_matrix( | ~~~~~~~~~~~~~~~~~~~~~~~ 562 | stan::math::log( | ~~~~~~~~~~~~~~~~ 563 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 564 | "assigning variable lsft"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of ‘struct Eigen::internal::evaluator, const Eigen::ArrayWrapper > > >, -1, 1, true> >’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from ‘struct Eigen::internal::evaluator, const Eigen::ArrayWrapper > > >, -1, 1, true> >’ 100 | struct evaluator | ^~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from ‘struct Eigen::internal::binary_evaluator, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::ArrayWrapper > > >, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>’ 739 | CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), | ^~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from ‘struct Eigen::internal::evaluator, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::ArrayWrapper > > >, -1, 1, true> > >’ 722 | struct evaluator > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/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::Matrix; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::ArrayWrapper > > >, -1, 1, true> >; Functor = add_assign_op]’ 774 | SrcEvaluatorType srcEvaluator(src); | ^~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from ‘static void Eigen::internal::Assignment::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Matrix; SrcXprType = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Matrix >, const Eigen::Block, const Eigen::ArrayWrapper > > >, -1, 1, true> >; Functor = Eigen::internal::add_assign_op; Weak = void]’ 954 | call_dense_assignment_loop(dst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: [ skipping 38 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 890 | Assignment::run(actualDst, src, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:5: required from ‘void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix&; T2 = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >; stan::require_all_eigen_t* = 0]’ 92 | x = std::forward(y); | ~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/indexing/assign.hpp:60:24: required from ‘void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix&; U = Eigen::CwiseBinaryOp, const Eigen::Matrix, const Eigen::Replicate, const Eigen::ArrayWrapper, const Eigen::ArrayWrapper > > >, Eigen::Map, 0, Eigen::Stride<0, 0> >, 0> > > >, -1, -1> >; stan::require_t::type&, typename std::decay<_Tp2>::type> >* = 0; stan::require_all_not_t, internal::is_tuple >* = 0]’ 60 | internal::assign_impl(x, std::forward(y), name); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:559:28: required from ‘void model_multinom_namespace::model_multinom::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; VecR = std::vector; VecI = std::vector; VecVar = std::vector; stan::require_vector_like_vt* = 0; stan::require_vector_like_vt* = 0; stan::require_vector_vt* = 0; std::ostream = std::basic_ostream]’ 559 | stan::model::assign(lsft, | ~~~~~~~~~~~~~~~~~~~^~~~~~ 560 | stan::math::subtract(linpred, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 561 | stan::math::rep_matrix( | ~~~~~~~~~~~~~~~~~~~~~~~ 562 | stan::math::log( | ~~~~~~~~~~~~~~~~ 563 | stan::math::multiply(stan::math::exp(linpred), ones_y)), n_y)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 564 | "assigning variable lsft"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:924:21: required from ‘void model_multinom_namespace::model_multinom::write_array(RNG&, std::vector&, std::vector&, std::vector&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; std::ostream = std::basic_ostream]’ 924 | write_array_impl(base_rng, params_r, params_i, vars, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 925 | emit_transformed_parameters, emit_generated_quantities, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/rstan/stan_fit.hpp:670:23: required from ‘SEXPREC* rstan::stan_fit::constrain_pars(SEXP) [with Model = model_multinom_namespace::model_multinom; RNG_t = boost::random::additive_combine_engine, boost::random::linear_congruential_engine >; SEXP = SEXPREC*]’ 670 | model_.write_array(base_rng, params_r, params_i, par); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.cc:26:89: required from here 26 | .method("constrain_pars", &rstan::stan_fit ::constrain_pars) | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 1071 | PacketAlignment = unpacket_traits::alignment, | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >, 1>’ 302 | class DenseCoeffsBase : public DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from ‘class Eigen::DenseCoeffsBase, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >, 3>’ 555 | class DenseCoeffsBase | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from ‘class Eigen::CwiseUnaryViewImpl, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>’ 103 | class CwiseUnaryViewImpl | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from ‘class Eigen::CwiseUnaryView, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >’ 58 | class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/sum.hpp:32:18: required from ‘stan::math::sum > >(const std::vector, arena_allocator > >&):: mutable [with auto:510 = stan::math::internal::callback_vari > >(const std::vector, arena_allocator > >&):: >]’ 32 | arena_m.adj() += vi.adj(); | ~~~~~~~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/callback_vari.hpp:21:43: required from ‘void stan::math::internal::callback_vari::chain() [with T = double; F = stan::math::sum > >(const std::vector, arena_allocator > >&)::]’ 21 | inline void chain() final { rev_functor_(*this); } | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/callback_vari.hpp:21:15: required from here 21 | inline void chain() final { rev_functor_(*this); } | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, Eigen::Array >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, Eigen::Array > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, Eigen::Array > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from ‘class Eigen::CwiseNullaryOp, Eigen::Array >’ 60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator | ^~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/SelfCwiseBinaryOp.h:27:67: required from ‘Derived& Eigen::ArrayBase::operator+=(const Scalar&) [with Derived = Eigen::ArrayWrapper, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map, 1, -1>, 0, Eigen::Stride<0, 0> > > >; Scalar = double]’ 27 | internal::call_assignment(this->derived(), PlainObject::Constant(rows(),cols(),other), internal::add_assign_op()); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/fun/sum.hpp:50:27: required from ‘stan::math::sum, 1, -1> >(const Eigen::Matrix, 1, -1>&):: mutable [with auto:511 = stan::math::internal::callback_vari, 1, -1> >(const Eigen::Matrix, 1, -1>&):: >]’ 50 | x_arena.adj().array() += vi.adj(); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/callback_vari.hpp:21:43: required from ‘void stan::math::internal::callback_vari::chain() [with T = double; F = stan::math::sum, 1, -1> >(const Eigen::Matrix, 1, -1>&)::]’ 21 | inline void chain() final { rev_functor_(*this); } | ~~~~~~~~~~~~^~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/rev/core/callback_vari.hpp:21:15: required from here 21 | inline void chain() final { rev_functor_(*this); } | ^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:92:65: required from ‘stan::return_type_t stan::math::inv_gamma_lpdf(const T_y&, const T_shape&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix; T_shape = double; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = double]’ 92 | partials<1>(ops_partials) = log_beta - digamma(alpha_val) - log_y; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ stanExports_multinom.h:442:60: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = false; VecR = Eigen::Matrix; VecI = Eigen::Matrix; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = double; std::ostream = std::basic_ostream]’ 442 | lp_accum__.add(stan::math::inv_gamma_lpdf(sigma_grp, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 443 | prior_sigma_shape, (prior_sigma * (prior_sigma_shape | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 444 | - 1)))); | ~~~~~~ stanExports_multinom.h:930:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(Eigen::Matrix&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 930 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:71: required from ‘double stan::model::model_base_crtp::log_prob_propto(Eigen::VectorXd&, std::ostream*) const [with M = model_multinom_namespace::model_multinom; Eigen::VectorXd = Eigen::Matrix; std::ostream = std::basic_ostream]’ 115 | return static_cast(this)->template log_prob(theta, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 116 | msgs); | ~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:113:17: required from here 113 | inline double log_prob_propto(Eigen::VectorXd& theta, | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘class Eigen::DenseCoeffsBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >, 0>’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from ‘class Eigen::DenseBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > > >’ 41 | template class DenseBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from ‘class Eigen::ArrayBase, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > > >’ 39 | template class ArrayBase | ^~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from ‘class Eigen::CwiseBinaryOpImpl, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > >, Eigen::Dense>’ 148 | class CwiseBinaryOpImpl | ^~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from ‘class Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >’ 77 | class CwiseBinaryOp : | ^~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:96:35: required from ‘stan::return_type_t stan::math::inv_gamma_lpdf(const T_y&, const T_shape&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix; T_shape = double; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = double]’ 96 | logp -= sum((alpha_val + 1.0) * log_y) * N / max_size(y, alpha); | ~~~~~~~~~~~~~~~~~~^~~~~~~ stanExports_multinom.h:442:60: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = false; VecR = Eigen::Matrix; VecI = Eigen::Matrix; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = double; std::ostream = std::basic_ostream]’ 442 | lp_accum__.add(stan::math::inv_gamma_lpdf(sigma_grp, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 443 | prior_sigma_shape, (prior_sigma * (prior_sigma_shape | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 444 | - 1)))); | ~~~~~~ stanExports_multinom.h:930:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(Eigen::Matrix&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 930 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:71: required from ‘double stan::model::model_base_crtp::log_prob_propto(Eigen::VectorXd&, std::ostream*) const [with M = model_multinom_namespace::model_multinom; Eigen::VectorXd = Eigen::Matrix; std::ostream = std::basic_ostream]’ 115 | return static_cast(this)->template log_prob(theta, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 116 | msgs); | ~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:113:17: required from here 113 | inline double log_prob_propto(Eigen::VectorXd& theta, | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 56 | >::type PacketReturnType; | ^~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of ‘Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase&) [with Derived = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >; Eigen::Index = long int]’: /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from ‘static Eigen::internal::redux_impl::Scalar Eigen::internal::redux_impl::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >; Func = Eigen::internal::scalar_sum_op; Evaluator = Eigen::internal::redux_evaluator, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > > >; Scalar = double]’ 243 | const Index alignedStart = internal::first_default_aligned(xpr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op; Derived = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >; typename Eigen::internal::traits::Scalar = double]’ 418 | return internal::redux_impl::run(thisEval, func, derived()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from ‘typename Eigen::internal::traits::Scalar Eigen::DenseBase::sum() const [with Derived = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >; typename Eigen::internal::traits::Scalar = double]’ 463 | return derived().redux(Eigen::internal::scalar_sum_op()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/fun/sum.hpp:47:15: required from ‘stan::value_type_t stan::math::sum(const T&) [with T = Eigen::CwiseBinaryOp, const Eigen::CwiseNullaryOp, const Eigen::Array >, const Eigen::CwiseUnaryOp, const Eigen::ArrayWrapper > > >; stan::require_eigen_vt* = 0; stan::value_type_t = double]’ 47 | return m.sum(); | ~~~~~^~ /usr/local/lib/R/library/StanHeaders/include/stan/math/prim/prob/inv_gamma_lpdf.hpp:96:16: required from ‘stan::return_type_t stan::math::inv_gamma_lpdf(const T_y&, const T_shape&, const T_scale&) [with bool propto = true; T_y = Eigen::Matrix; T_shape = double; T_scale = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t* = 0; stan::return_type_t = double]’ 96 | logp -= sum((alpha_val + 1.0) * log_y) * N / max_size(y, alpha); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ stanExports_multinom.h:442:60: required from ‘stan::scalar_type_t model_multinom_namespace::model_multinom::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = false; VecR = Eigen::Matrix; VecI = Eigen::Matrix; stan::require_vector_like_t* = 0; stan::require_vector_like_vt* = 0; stan::scalar_type_t = double; std::ostream = std::basic_ostream]’ 442 | lp_accum__.add(stan::math::inv_gamma_lpdf(sigma_grp, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 443 | prior_sigma_shape, (prior_sigma * (prior_sigma_shape | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 444 | - 1)))); | ~~~~~~ stanExports_multinom.h:930:47: required from ‘T_ model_multinom_namespace::model_multinom::log_prob(Eigen::Matrix&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream]’ 930 | return log_prob_impl(params_r, params_i, pstream); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:71: required from ‘double stan::model::model_base_crtp::log_prob_propto(Eigen::VectorXd&, std::ostream*) const [with M = model_multinom_namespace::model_multinom; Eigen::VectorXd = Eigen::Matrix; std::ostream = std::basic_ostream]’ 115 | return static_cast(this)->template log_prob(theta, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 116 | msgs); | ~~~~~ /usr/local/lib/R/library/StanHeaders/include/src/stan/model/model_base_crtp.hpp:113:17: required from here 113 | inline double log_prob_propto(Eigen::VectorXd& theta, | ^~~~~~~~~~~~~~~ /usr/local/lib/R/library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits::type’ {aka ‘__m128d’} [-Wignored-attributes] 654 | return internal::first_aligned::alignment),Derived>(m); | ^~~~~~~~~ g++ -std=gnu++17 -shared -L/usr/lib64/R/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -o birdie.so RcppExports.o bayes.o birdie.o gibbs.o random.o stanExports_multinom.o -L/usr/lib64 -Wl,-rpath,/usr/lib64 -ltbb -ltbbmalloc -L/usr/local/lib/R/library/RcppParallel/lib/ -Wl,-rpath,/usr/local/lib/R/library/RcppParallel/lib/ -ltbb -ltbbmalloc -latomic -lpthread -L/usr/lib64/R/lib -lR installing to /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build/BUILDROOT/usr/local/lib/R/library/00LOCK-birdie/00new/birdie/libs ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices converting help for package ‘birdie’ finding HTML links ... done birdie-class html birdie-family html birdie-package html birdie html birdie.ctrl html bisg html census_race_geo_table html disparities html est_weighted html p_r_natl html preproc html pseudo_vf html reexports html *** copying figures ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (birdie) + test -d birdie/src + cd birdie/src + rm -f RcppExports.o bayes.o birdie.o gibbs.o random.o stanExports_multinom.o birdie.so + rm -f /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build/BUILDROOT/usr/local/lib/R/library/R.css + find /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build/BUILDROOT/usr/local/lib/R/library -type f -exec sed -i s@/builddir/build/BUILD/R-CRAN-birdie-0.7.1-build/BUILDROOT@@g '{}' ';' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.7.1-1.fc44.copr10380845 --unique-debug-suffix -0.7.1-1.fc44.copr10380845.x86_64 --unique-debug-src-base R-CRAN-birdie-0.7.1-1.fc44.copr10380845.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build/birdie find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/R-CRAN-birdie-0.7.1-1.fc44.copr10380845.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j4 /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build/BUILDROOT Handler jar skipped: jar handler requires $SOURCE_DATE_EPOCH to be set Handler gzip skipped: gzip handler requires $SOURCE_DATE_EPOCH to be set Handler zip skipped: zip handler requires $SOURCE_DATE_EPOCH to be set Scanned 38 directories and 132 files, processed 58 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build/BUILDROOT/usr Scanned 37 directories and 132 files, considered 132 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Reading /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: R-CRAN-birdie-0.7.1-1.fc44.copr10380845.x86_64 Provides: R-CRAN-birdie = 0.7.1-1.fc44.copr10380845 R-CRAN-birdie(x86-64) = 0.7.1-1.fc44.copr10380845 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libR.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libc.so.6(GLIBC_ABI_GNU2_TLS)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.15)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtbb.so.12()(64bit) rtld(GNU_HASH) Processing files: R-CRAN-birdie-debugsource-0.7.1-1.fc44.copr10380845.x86_64 Provides: R-CRAN-birdie-debugsource = 0.7.1-1.fc44.copr10380845 R-CRAN-birdie-debugsource(x86-64) = 0.7.1-1.fc44.copr10380845 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: R-CRAN-birdie-debuginfo-0.7.1-1.fc44.copr10380845.x86_64 Provides: R-CRAN-birdie-debuginfo = 0.7.1-1.fc44.copr10380845 R-CRAN-birdie-debuginfo(x86-64) = 0.7.1-1.fc44.copr10380845 debuginfo(build-id) = 65d39e3857c6479f07559d9cd97537f5bd095ce4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: R-CRAN-birdie-debugsource(x86-64) = 0.7.1-1.fc44.copr10380845 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build/BUILDROOT Wrote: /builddir/build/RPMS/R-CRAN-birdie-debugsource-0.7.1-1.fc44.copr10380845.x86_64.rpm Wrote: /builddir/build/RPMS/R-CRAN-birdie-0.7.1-1.fc44.copr10380845.x86_64.rpm Wrote: /builddir/build/RPMS/R-CRAN-birdie-debuginfo-0.7.1-1.fc44.copr10380845.x86_64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.XtO0XB + umask 022 + cd /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build + test -d /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build + rm -rf /builddir/build/BUILD/R-CRAN-birdie-0.7.1-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from Finish: rpmbuild R-CRAN-birdie-0.7.1-1.fc44.copr10380845.src.rpm Finish: build phase for R-CRAN-birdie-0.7.1-1.fc44.copr10380845.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-44-x86_64-1777170250.424449/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names INFO: Done(/var/lib/copr-rpmbuild/results/R-CRAN-birdie-0.7.1-1.fc44.copr10380845.src.rpm) Config(child) 2 minutes 7 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running RPMResults tool Package info: { "packages": [ { "name": "R-CRAN-birdie", "epoch": null, "version": "0.7.1", "release": "1.fc44.copr10380845", "arch": "src" }, { "name": "R-CRAN-birdie", "epoch": null, "version": "0.7.1", "release": "1.fc44.copr10380845", "arch": "x86_64" }, { "name": "R-CRAN-birdie-debuginfo", "epoch": null, "version": "0.7.1", "release": "1.fc44.copr10380845", "arch": "x86_64" }, { "name": "R-CRAN-birdie-debugsource", "epoch": null, "version": "0.7.1", "release": "1.fc44.copr10380845", "arch": "x86_64" } ] } RPMResults finished