Skip to content

Commit

Permalink
fixing logical operator
Browse files Browse the repository at this point in the history
  • Loading branch information
mbkuhn committed Jul 27, 2023
1 parent e84187a commit 52811ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amr-wind/wind_energy/actuator/Actuator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ void Actuator::update_positions()
m_container->update_positions();

// Sample velocities at the new locations
if (m_sample_nmhalf &
if (m_sample_nmhalf &&
(m_sim.time().current_time() > m_sim.time().start_time())) {
const auto& umac = m_sim.repo().get_field("u_mac");
const auto& vmac = m_sim.repo().get_field("v_mac");
Expand Down

0 comments on commit 52811ee

Please sign in to comment.