Skip to content

Commit

Permalink
Fix get_value_at_indices
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Oct 17, 2023
1 parent badc5f7 commit a8d4e59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grpc4bmi/bmi_julia_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ def get_value_at_indices(self, name: str, dest: np.ndarray, inds: np.ndarray) ->
self.implementation.get_value_at_indices(
self.state,
name,
jl.convert(jl.Vector[jl.Int64], inds + 1),
dest,
inds + 1
)
return dest

Expand Down Expand Up @@ -397,7 +397,7 @@ def set_value_at_indices(
self.implementation.set_value_at_indices(
self.state,
name,
jl.convert(jl.Vector[jl.Int64], inds + 1),
inds + 1,
jl.convert(jl.Vector, src),
)

Expand Down

0 comments on commit a8d4e59

Please sign in to comment.