Skip to content

Commit bfd59b9

Browse files
author
levi131
committed
Merge branch 'lml/static_mode' of github.com:levi131/PaddleScience into lml/static_mode
2 parents 883dfda + 124f973 commit bfd59b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/laplace2d/laplace2d_static.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def GenSolution(xy, bc_index):
123123
loss_d = exe.run(compiled_program,
124124
feed={
125125
'x': geo.get_space_domain().astype(np.float32),
126-
'bc_idx': geo.bc_index,
126+
'bc_idx': geo.bc_index.astype(np.float32),
127127
'bc_v': pdes.bc_value
128128
},
129129
fetch_list=[loss.name])

0 commit comments

Comments
 (0)