Skip to content

Commit

Permalink
bug fix in data reader (PaddlePaddle#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
xingfeng01 committed Jun 30, 2022
1 parent da95694 commit 3fee56b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/cylinder/2d_unsteady_continuous/loading_cfd_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,6 @@ def loading_initial_data(self, time_list):
u = initial_t_data[:, 2].reshape((-1, 1))
v = initial_t_data[:, 3].reshape((-1, 1))
t = initial_t_data[:, 0].reshape((-1, 1))
x = initial_t_data[:, 6].reshape((-1, 1))
y = initial_t_data[:, 7].reshape((-1, 1))
x = initial_t_data[:, 5].reshape((-1, 1))
y = initial_t_data[:, 6].reshape((-1, 1))
return p, u, v, t, x, y

0 comments on commit 3fee56b

Please sign in to comment.