From 355580080af320e78033cef68006f22a36b30dc0 Mon Sep 17 00:00:00 2001 From: Rob Falck Date: Tue, 16 Jul 2024 13:25:50 -0400 Subject: [PATCH] Added note that overriding setup_residuals in an ExplicitComponent is an error. --- POEM_099.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/POEM_099.md b/POEM_099.md index a4a9560..82b72bc 100644 --- a/POEM_099.md +++ b/POEM_099.md @@ -33,7 +33,9 @@ OpenMDAO currently allows inputs and outputs to be shaped based upon connections This is similar to the issues that drove the need for a `setup_partials` method which allowed partials to be declared in `final_setup`, once the sizes of all inputs and outputs ad been resolved. -As of a result, OpenMDAO components will get a `setup_residuals` method which will allow `add_residual` to be called once sizes have been resolved.c +As of a result, OpenMDAO components will get a `setup_residuals` method which will allow `add_residual` to be called once sizes have been resolved. + +- It is an error to define `setup_residuals` in an ExplicitComponent ## Example