[Community] [Insight-users] explicitly instantiate vnl_sparse_matrix
Wei Liu
weiliu620 at gmail.com
Tue Oct 15 00:56:30 EDT 2013
Dear ITK users,
Is there a method to explicitly instantiate vnl_sparse_matrix<bool>?
I'm trying to define: vnl_sparse_matrix<bool> mymatrix, but get error
undefined reference to `vnl_sparse_matrix<bool>::vnl_sparse_matrix()'
I tried to add
template class vnl_sparse_matrix<bool>;
on the top of my main.cxx but it doesn't work. I appreciate any insights.
Wei
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users
More information about the Community
mailing list