cornellius-gp / linear_operator

A LinearOperator implementation to wrap the numerical nuts and bolts of GPyTorch
MIT License
95 stars 28 forks source link

`DenseLinearOperator` does not have `operator` attribute #3

Closed SebastianAment closed 2 years ago

SebastianAment commented 2 years ago

I ran into this while porting over this PR here.

When I execute the test suite, I get 122 errors of the form

AttributeError: 'DenseLinearOperator' object has no attribute 'operator'

When I add an operator attribute here and set it to tsr, all tests pass.

It seems like @gpleiss is about to merge this, and I am not sure if there are any other pending changes coming into this repository. Let me know if I should hold off until the merge is complete, or if I should make a PR for this.

SebastianAment commented 2 years ago

My mistake, I inadvertently changed the test!