campospinto / psydac_dev

Python 3 library for isogeometric analysis
https://pyccel.github.io/psydac/
MIT License
0 stars 0 forks source link

call exposed domain and codomain in linalg/basic.py #2

Closed campospinto closed 2 months ago

campospinto commented 3 months ago

the __neg__ function in class LinearOperator uses the _domain and _codomain attributes, which is wrong since these may not be defined. It should use the exposed (interface) attributes domain and codomain