diff --git a/src/cpp/pffdtd/engine_2d_cpu.cpp b/src/cpp/pffdtd/engine_2d_cpu.cpp index d79bfc2..ac049c1 100644 --- a/src/cpp/pffdtd/engine_2d_cpu.cpp +++ b/src/cpp/pffdtd/engine_2d_cpu.cpp @@ -27,10 +27,10 @@ auto Engine2DCPU::operator()(Simulation2D const& sim) const -> stdex::mdarray(sim.adj_bn.size()); auto const inx = sim.inx; auto const iny = sim.iny; - auto const Nr = sim.out_ixy.size(); + auto const Nr = static_cast(sim.out_ixy.size()); auto const lossFactor = sim.loss_factor; summary(sim); @@ -75,7 +75,7 @@ auto Engine2DCPU::operator()(Simulation2D const& sim) const -> stdex::mdarray stdex::mdarray stdex::mdarray