| 20 | |
| 21 | template <int numRows, int numCols, typename T> |
| 22 | std::vector<std::vector<T>> toVector(T const v[numRows][numCols]) |
| 23 | { |
| 24 | std::vector<std::vector<T>> result; |
| 25 | for (int row = 0; row < numRows; ++row) { |
| 26 | std::vector<T> rowVector; |
| 27 | for (int col = 0; col < numCols; ++col) { |
| 28 | rowVector.emplace_back(v[row][col]); |
| 29 | } |
| 30 | result.emplace_back(rowVector); |
| 31 | } |
| 32 | return result; |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | void _SimulationParametersBaseWidgets::init(SimulationFacade const& simulationFacade) |
nothing calls this directly
no outgoing calls
no test coverage detected