Skip to content

Commit

Permalink
Fix annual simulation check for wave module
Browse files Browse the repository at this point in the history
  • Loading branch information
mjprilliman committed Feb 26, 2024
1 parent 7b01128 commit d047046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssc/cmod_mhk_wave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ class cm_mhk_wave : public compute_module
}
size_t hour_step = 1.0;
if (is_annual) {
size_t hour_step = number_hours / number_records;
hour_step = number_hours / number_records;
}

ssc_number_t sig_wave_height_index = 0;
Expand Down

0 comments on commit d047046

Please sign in to comment.