Skip to content
Snippets Groups Projects
Commit 25b2d9ab authored by Jonas Greitemann's avatar Jonas Greitemann
Browse files

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.
parent e0018ca7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment