-
- Downloads
Skip sample is configuration is empty
This enables simulation classes to intentionally return an "empty" configuration in cases where no samples are desired but the simulation is merely run as part of a larger PT set. "Emptiness" is established by calling empty() on the configuration. Since not all configuration type may implement empty(), the comparison `size() == 0` is a compile-time fallback. If no `size()` is provided, the distance between begin and end iterators is used.
Showing
- include/tksvm/sim_adapters/training_adapter.hpp 34 additions, 2 deletionsinclude/tksvm/sim_adapters/training_adapter.hpp
- include/tksvm/utilities/mpi/mpi.hpp 3 additions, 2 deletionsinclude/tksvm/utilities/mpi/mpi.hpp
- include/tksvm/utilities/void_t.hpp 24 additions, 0 deletionsinclude/tksvm/utilities/void_t.hpp
- src/learn.cpp 0 additions, 1 deletionsrc/learn.cpp
Loading
Please register or sign in to comment