Skip to content

Typo in coefficient_common.i #310

@zhanggy2004

Description

@zhanggy2004

Thank you for developing and maintaining this project.

In

if isinstance(agrs[2], Coefficient):
and
if isinstance(agrs[3], Coefficient):

agrs should be args?

Otherwise I got the following error when calling VectorSumCoefficient().

File "xxx/mfem/_ser/coefficient.py", line 2782, in __init__
    if isinstance(agrs[2], Coefficient):
                  ^^^^
NameError: name 'agrs' is not defined

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions