eigen sparsematrix conservativeResize遇到的问题

[复制链接]
查看11 | 回复0 | 2021-1-27 05:08:47 | 显示全部楼层 |阅读模式
eigen库新手,不知道为什么下面这段代码跑不通(看起来是访存出来问题)
#include
#include
intmain(){
Eigen::SparseMatrixR;
R.resize(50,50);
std::cout
具体表现为有时输出1有时输出12然后闪退,求指教,谢谢!
分 -->
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行