# check_config.py¶

A module containing various configuration checks for an OpenMDAO Problem.

openmdao.error_checking.check_config.check_allocate_complex_ln(model, under_cs)[source]

Return True if linear vector should be complex.

This happens when a solver needs derivatives under complex step.

Parameters
model<Group>

Model to be checked, usually the root model.

under_csbool

Flag indicates if complex vectors were allocated in a containing Group or were force allocated in setup.

Returns
bool

True if linear vector should be complex.