| 137 | } |
| 138 | |
| 139 | void InflatorEngine::with_rel_geometry_correction(const VectorF& correction) { |
| 140 | if (correction.size() != m_wire_network->get_dim()) { |
| 141 | std::stringstream err_msg; |
| 142 | err_msg << "Relative geometry offset dimension mismatch. Expect " |
| 143 | << m_wire_network->get_dim() << " but get " |
| 144 | << correction.size() << " instead."; |
| 145 | throw RuntimeError(err_msg.str()); |
| 146 | } |
| 147 | m_rel_correction = correction; |
| 148 | } |
| 149 | |
| 150 | void InflatorEngine::with_abs_geometry_correction(const VectorF& correction) { |
| 151 | if (correction.size() != m_wire_network->get_dim()) { |
no test coverage detected