fix hhd cuda bug

This commit is contained in:
TPP-G6
2026-01-29 21:24:12 +08:00
parent c3fa34e66d
commit 6f0b6cb9d4
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ class Sensor:
# Initialize HHD solver
if self.__hhd is None:
self.__hhd = nHHD(cuda=self.cuda, Qgrid=flow.shape[:2], spacings=(18, 18))
self.__hhd = nHHD(cuda=self.cuda, grid=flow.shape[:2], spacings=(18, 18))
# Force computation
if self.cuda and self.CUPY_AVAILABLE: