Skip to content

Commit

Permalink
update TUV-x ctor args in fortran wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
mattldawson committed Sep 3, 2024
1 parent 80c8b6c commit 8e3bcdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fortran/tuvx/tuvx.F90
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ function constructor(config_path, grids, profiles, radiators, error) &
end do
c_config_path(n+1) = c_null_char

this%ptr_ = create_tuvx_c(c_config_path, c_loc(grids), c_loc(profiles), &
c_loc(radiators), error_c)
this%ptr_ = create_tuvx_c(c_config_path, grids%ptr_, profiles%ptr_, &
radiators%ptr_, error_c)

error = error_t(error_c)
if (.not. error%is_success()) then
Expand Down

0 comments on commit 8e3bcdd

Please sign in to comment.