Skip to content

Commit 141ddd9

Browse files
authored
Merge branch 'master' into oop
2 parents 6fca39c + 0b49024 commit 141ddd9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name = "SciMLOperators"
22
uuid = "c0aeaf25-5076-4817-a8d5-81caf7dfa961"
33
authors = ["xtalax <[email protected]>"]
4+
45
version = "0.1.13"
56

67
[deps]

src/tensor.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ function outer_mul!(v::AbstractVecOrMat, L::TensorProductOperator, u::AbstractVe
320320
C1 = first(L.cache)
321321

322322
m, _ = size(L)
323+
k = size(u, 2)
323324

324325
if L.outer isa IdentityOperator
325326
c1 = reshape(C1, (m, k))
@@ -333,7 +334,6 @@ function outer_mul!(v::AbstractVecOrMat, L::TensorProductOperator, u::AbstractVe
333334

334335
mi, _ = size(L.inner)
335336
mo, no = size(L.outer)
336-
k = size(u, 2)
337337

338338
if k == 1
339339
V = reshape(v, (mi, mo))

0 commit comments

Comments
 (0)