Skip to content

Commit d64d620

Browse files
authored
Update SU2_CFD/src/drivers/CDiscAdjMultizoneDriver.cpp
1 parent 3f81059 commit d64d620

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SU2_CFD/src/drivers/CDiscAdjMultizoneDriver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ void CDiscAdjMultizoneDriver::SetAdj_ObjFunction() {
881881
void CDiscAdjMultizoneDriver::ComputeAdjoints(unsigned short iZone, bool eval_transfer) {
882882

883883
#if defined(CODI_INDEX_TAPE) || defined(HAVE_OPDI)
884-
if (nZone > 1) {
884+
if (nZone > 1 && rank == MASTER_NODE) {
885885
std::cout << "WARNING: Index AD types do not support multiple zones." << std::endl;
886886
}
887887
#endif

0 commit comments

Comments
 (0)