Skip to content

Commit

Permalink
require scipy only for implicit solution (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
landam authored May 30, 2024
1 parent ef182bf commit 8ca7526
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion smoderp2d/time_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import numpy as np
import numpy.ma as ma
import scipy.optimize as spopt


# Class manages the one time step operation
Expand Down Expand Up @@ -362,6 +361,8 @@ def do_next_h_implicit(self, surface, subsurface, rain_arr, cumulative,
:param potRain: TODO
:param delta_t: TODO
"""
import scipy.optimize as spopt

# global variables for infilitration
# class infilt_capa
# global max_infilt_capa
Expand Down

0 comments on commit 8ca7526

Please sign in to comment.