Commit 4e5a2e7a authored by Dorothea Vom Bruch's avatar Dorothea Vom Bruch
Browse files

fix compilation in debug mode

parent b4561429
Pipeline #970997 passed with stage
in 1 minute and 29 seconds
#pragma once
#include "UTDefinitions.cuh"
#include "UTMagnetToolDefinitions.h"
#include "VeloConsolidated.cuh"
#include "UTEventModel.cuh"
#include "States.cuh"
......
......@@ -84,7 +84,7 @@ __device__ std::tuple<int, int, int, int, int, int, int, int, int, int> calculat
// -- If you ever change the Table in the magnet tool, this will be wrong
const float absSlopeY = std::abs(velo_state.ty);
const int index = (int) (absSlopeY * 100 + 0.5f);
assert(3 + 4 * index < PrUTMagnetTool::N_dxLay_vals);
assert(3 + 4 * index < UTMagnetTool::N_dxLay_vals);
const float normFact[4] {
fudge_factors[4 * index], fudge_factors[1 + 4 * index], fudge_factors[2 + 4 * index], fudge_factors[3 + 4 * index]};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment