Skip to content

Commit

Permalink
Merge pull request #272 from fnalacceleratormodeling/egstern-remove-l…
Browse files Browse the repository at this point in the history
…eftover-printout

remove debug printout in map_to_twiss
  • Loading branch information
egstern authored May 7, 2024
2 parents 4ef06a7 + 5c0f2bc commit 8e309ad
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/synergia/simulation/lattice_simulator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -796,11 +796,6 @@ namespace Lattice_simulator {
if (map.extent(0) != 2 || map.extent(1) != 2)
throw std::runtime_error("map_to_twiss: wrong dimensions");

std::cout << "EGS: map_to_twiss input array" << std::endl;
for (int i=0; i<2; ++i) {
std::cout << std::setprecision(9) << map(i, 0) << ", " << map(i, 1) << std::endl;
}

// [alpha, beta, psi]
std::array<double, 3> ret;

Expand Down

0 comments on commit 8e309ad

Please sign in to comment.