use parentheses instead of backslash

This commit is contained in:
Jan Petykiewicz 2024-07-15 16:32:48 -07:00
parent 77715da8b4
commit ccfd4fbf04

View File

@ -73,8 +73,10 @@ def cylindrical_operator(
omega2 = omega * omega omega2 = omega * omega
op = (omega2 * diag((Tx, Ty)) + pa) @ diag((a0, a1)) + \ op = (
(omega2 * diag((Tx, Ty)) + pa) @ diag((a0, a1))
- (sparse.bmat(((None, Ty), (Tx, None))) + pb / omega2) @ diag((b0, b1)) - (sparse.bmat(((None, Ty), (Tx, None))) + pb / omega2) @ diag((b0, b1))
)
return op return op