We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e81a8ff commit 3f81059Copy full SHA for 3f81059
1 file changed
SU2_CFD/src/drivers/CDiscAdjMultizoneDriver.cpp
@@ -881,7 +881,9 @@ void CDiscAdjMultizoneDriver::SetAdj_ObjFunction() {
881
void CDiscAdjMultizoneDriver::ComputeAdjoints(unsigned short iZone, bool eval_transfer) {
882
883
#if defined(CODI_INDEX_TAPE) || defined(HAVE_OPDI)
884
- assert(nZone <= 1 && "index AD types do not support multiple zones");
+ if (nZone > 1) {
885
+ std::cout << "WARNING: Index AD types do not support multiple zones." << std::endl;
886
+ }
887
#endif
888
889
AD::ClearAdjoints();
0 commit comments