IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 3a07d51e authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan:
Browse files

Vector: default arguments quantity_type::zero()

parent 26e12231
No related branches found
No related tags found
1 merge request!427Resolve "upgrade pythia to version 8.3xx"
......@@ -36,8 +36,9 @@ namespace corsika {
Vector(CoordinateSystemPtr const& pCS, QuantityVector<TDimension> const& pQVector)
: BaseVector<TDimension>(pCS, pQVector) {}
Vector(CoordinateSystemPtr const& cs, quantity_type const x, quantity_type const y,
quantity_type const z)
Vector(CoordinateSystemPtr const& cs, quantity_type const x = quantity_type::zero(),
quantity_type const y = quantity_type::zero(),
quantity_type const z = quantity_type::zero())
: BaseVector<TDimension>(cs, QuantityVector<TDimension>(x, y, z)) {}
/*!
......
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