Comments (4)
Can you provide some details about the system you're compiling this on?
from optim.
Thank you for your answer.
I tested on many computers but all have Ubuntu (20.04 somewhere and 22.04 somewhere). I thought that I should update RcppArmadillo. But that does not fix the issue.
from optim.
Can you provide a minimal reproducible example that generates this error?
from optim.
I've experienced this problem as well. It appears to be related to the fact that RcppArmadillo forces the use of 32 bit integers (this is required by R itself, see https://stackoverflow.com/questions/57802546/unable-to-load-armadillo-cubeuword-when-using-rcpparmadillo). I managed to solve it by replacing line 150 in include/misc/optim_options.hpp from
using ColVecUInt_t = arma::Col<unsigned long long>;
to
using ColVecUInt_t = arma::uvec;
from optim.
Related Issues (20)
- Eigen::all is now Eigen::placeholders::all HOT 1
- Build fail on msys2 HOT 1
- Cannot build Header Only HOT 1
- Getting error on MSVC - optim_options.hpp HOT 1
- Last step of GD leads to crash (eigen version) HOT 9
- Add basic example for Eigen HOT 1
- error configure header-only HOT 1
- Error in header-only-library HOT 1
- Error of example in the document HOT 1
- BaseMatrixOps is empty when installing header files only HOT 1
- how to input two nonlinear euqatoins.
- PSO center_particle HOT 6
- compilation probleme due to include path HOT 1
- Compile as a static library? HOT 2
- After "./configure --header-only-version" the folder "header_only_version/BaseMatrixOps" is empty HOT 5
- Trouble using optim and mcmc in same project HOT 2
- print_level not printing error value HOT 1
- header-only-version does not work HOT 1
- Problem when installing : missing file BaseMatrixOps.hpp HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from optim.