Skip to content

Commit

Permalink
Fixed bugs introduced in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jrenaud90 committed Nov 28, 2024
1 parent 66246c5 commit 21724da
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CyRK/cy/cysolve.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ std::shared_ptr<CySolverResult> baseline_cysolve_ivp(
// General optional arguments
const size_t expected_size,
const size_t num_extra,
void* args_ptr,
const void* args_ptr,
const size_t max_num_steps,
const size_t max_ram_MB,
const bool dense_output,
Expand Down
2 changes: 1 addition & 1 deletion CyRK/cy/cysolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ CySolverBase::CySolverBase(
const double* const y0_ptr,
const size_t num_y,
const size_t num_extra,
const void* const args_ptr,
const void* args_ptr,
const size_t max_num_steps,
const size_t max_ram_MB,
const bool use_dense_output,
Expand Down
2 changes: 1 addition & 1 deletion CyRK/cy/cysolver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class CySolverBase {
const double* const y0_ptr,
const size_t num_y,
const size_t num_extra,
void args_ptr,
const void* args_ptr,
const size_t max_num_steps,
const size_t max_ram_MB,
const bool use_dense_output,
Expand Down
2 changes: 1 addition & 1 deletion CyRK/cy/cysolver_test.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ from libc.math cimport sin, cos, fabs, fmin, fmax

cdef double d_NAN = numeric_limits[double].quiet_NaN()

from CyRK.cy.cysolver_api cimport cysolve_ivp, WrapCySolverResult, DiffeqFuncType,MAX_STEP, CySolveOutput, null_void_sptr
from CyRK.cy.cysolver_api cimport cysolve_ivp, WrapCySolverResult, DiffeqFuncType,MAX_STEP, CySolveOutput

import numpy as np
cimport numpy as np
Expand Down
2 changes: 1 addition & 1 deletion CyRK/cy/rk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RKSolver::RKSolver(
const double* const y0_ptr,
const size_t num_y,
const size_t num_extra,
void* args_ptr,
const void* args_ptr,
const size_t max_num_steps,
const size_t max_ram_MB,
const bool use_dense_output,
Expand Down
2 changes: 1 addition & 1 deletion CyRK/cy/rk.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ class RKSolver : public CySolverBase {
const double* const y0_ptr,
const size_t num_y,
const size_t num_extra,
void* args_ptr,
const void* args_ptr,
const size_t max_num_steps,
const size_t max_ram_MB,
const bool use_dense_output,
Expand Down

0 comments on commit 21724da

Please sign in to comment.