Download include/eigen/failtest/swap_2.cpp from adfa5456/FastRobustICP: direct link, hf CLI and curl.
- Browser
- Download file 211 Bytes
-
https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/failtest/swap_2.cpp
- Command line
-
hf download hf://datasets/adfa5456/FastRobustICP/include/eigen/failtest/swap_2.cpp
-
curl -L -o swap_2.cpp https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/failtest/swap_2.cpp
211 Bytes
| using namespace Eigen; | |
| int main() | |
| { | |
| VectorXf a(10), b(10); | |
| VectorXf const &ac(a); | |
| b.swap(ac); | |
| b.swap(ac.const_cast_derived()); | |
| } | |