Skip to content

Instantly share code, notes, and snippets.

@bluescarni
Created June 17, 2015 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bluescarni/a489e823995f48562a5e to your computer and use it in GitHub Desktop.
Save bluescarni/a489e823995f48562a5e to your computer and use it in GitHub Desktop.
auto s = C.evaluate_sparsity();
for (const auto &p: s) {
std::cout << p.first << ',' << p.second << '\n';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment