Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem while compoiling #8

Open
MohammadMirsafaei opened this issue Apr 17, 2019 · 0 comments
Open

Problem while compoiling #8

MohammadMirsafaei opened this issue Apr 17, 2019 · 0 comments

Comments

@MohammadMirsafaei
Copy link

Hi
I was trying to compile ncorr on visual studio 2019.
But there is an error in code!
How can I fix it?
Threre are several places in code with this issue

template <typename T_container> 
    inline typename sub_iterator<T_container>::sub_iterator& sub_iterator<T_container>::operator++() {    
        this->chk_valid_increment();

        // increment sub_p, then determine position from it
        ++sub_p;
        this->p = this->A_ptr->sub2ind(sub_p % sub_h + r_sub1_2D.first, sub_p / sub_h + r_sub2_2D.first);

        return *this;
    }  

and the error is :
overloaded function "ncorr::details::sub_iterator<T_container>::sub_iterator" is not a type name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant