[Fix] Fix a bug that may cause inplace operation error (#884)

* loss

* fix

* bug
pull/814/head^2
Qing Jiang 2022-03-25 16:14:51 +08:00 committed by GitHub
parent 6512f0a0a4
commit 7c9093684e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -148,10 +148,10 @@ class FPEM_FFM(BaseModule):
c4_ffm = c4
c5_ffm = c5
else:
c2_ffm += c2
c3_ffm += c3
c4_ffm += c4
c5_ffm += c5
c2_ffm = c2_ffm + c2
c3_ffm = c3_ffm + c3
c4_ffm = c4_ffm + c4
c5_ffm = c5_ffm + c5
# FFM
c5 = F.interpolate(