Skip to content

Commit ff1d80b

Browse files
committed
fix typo
1 parent 607fc94 commit ff1d80b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src_test/test_rte_rrtmgp_rt.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,14 +346,14 @@ void solve_radiation(int argc, char** argv)
346346

347347

348348

349-
if (input_nc.variable_exists("col_dry") & switch_tica)
349+
if (input_nc.variable_exists("col_dry") && switch_tica)
350350
{
351351
std::string error = "col_dry is not supported in tica mode";
352352
throw std::runtime_error(error);
353353

354354
}
355355

356-
if (input_nc.variable_exists("tsi") & switch_tica)
356+
if (input_nc.variable_exists("tsi") && switch_tica)
357357
{
358358
std::string error = "tsi is overwritten in tica mode";
359359
throw std::runtime_error(error);

0 commit comments

Comments
 (0)