Skip to content

Commit

Permalink
Forgot to add linebreaks when corrected lambdas
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-fritz committed Sep 3, 2024
1 parent e747e8e commit 118a0f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pySDC/implementations/hooks/log_solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,13 @@ class LogToFile(Hooks):

path = None
file_name = 'solution'

def logging_condition(L):
return True

def process_solution(L):
return {'t': L.time + L.dt, 'u': L.uend.view(np.ndarray)}

def format_index(index):
return f'{index:06d}'

Expand Down
1 change: 1 addition & 0 deletions pySDC/projects/PinTSimE/switch_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ def get_switch(t_interp, state_function, m_guess):
"""

LagrangeInterpolation = LagrangeApproximation(points=t_interp, fValues=state_function)

def p(t):
return LagrangeInterpolation.__call__(t)

Expand Down

0 comments on commit 118a0f4

Please sign in to comment.