This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Why I can't pass a SparseMatrix reference to a function?

Tags: None
(comma "," separated)
defenatt
Registered Member
Posts
1
Karma
0
I want to pass a SparseMatrix reference into a function, the variable will be changed in function.
the error:C2061 grammar mistake:identifiers "SparseMatrix"

Code: Select all
#include "opencv2/opencv.hpp"
#include <iostream>
#include <vector>
#include <direct.h>
#include <io.h>
#include <sstream>
#include "opencv2/opencv.hpp"
#include "C_lass.h"
#include "func.h"
#include "boost/format.hpp"
#include <fstream>
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include <Eigen/SparseCore>
using namespace Eigen;
using namespace std;
using namespace cv;

vector<vector<int>> seed_in_roi(Mat img,int st, SparseMatrix<double> &C)
......


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]