Skip to content

Commit 850e7a9

Browse files
Merge pull request #1270 from ChrisRackauckas-Claude/fix-incompatibility-typo
Fix Incompatability -> Incompatibility typo to match SciMLBase
2 parents 64e1d35 + e7bd5e2 commit 850e7a9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/DiffEqBase.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ import SciMLBase: solve, init, step!, solve!, __init, __solve, update_coefficien
9999
isconcreteu0, isconcretedu0, get_concrete_du0, _reshape, value, unitfulvalue, anyeltypedual, allowedkeywords,
100100
sse, totallength, __sum, DualEltypeChecker, KeywordArgError, KeywordArgWarn, KeywordArgSilent, KWARGWARN_MESSAGE, KWARGERROR_MESSAGE,
101101
CommonKwargError, IncompatibleInitialConditionError, NO_DEFAULT_ALGORITHM_MESSAGE, NoDefaultAlgorithmError, NO_TSPAN_MESSAGE, NoTspanError,
102-
NAN_TSPAN_MESSAGE, NaNTspanError, NON_SOLVER_MESSAGE, NonSolverError, NOISE_SIZE_MESSAGE, NoiseSizeIncompatabilityError, PROBSOLVER_PAIRING_MESSAGE,
103-
ProblemSolverPairingError, compatible_problem_types, DIRECT_AUTODIFF_INCOMPATABILITY_MESSAGE, DirectAutodiffError, NONNUMBER_ELTYPE_MESSAGE, NonNumberEltypeError,
102+
NAN_TSPAN_MESSAGE, NaNTspanError, NON_SOLVER_MESSAGE, NonSolverError, NOISE_SIZE_MESSAGE, NoiseSizeIncompatibilityError, PROBSOLVER_PAIRING_MESSAGE,
103+
ProblemSolverPairingError, compatible_problem_types, DIRECT_AUTODIFF_INCOMPATIBILITY_MESSAGE, DirectAutodiffError, NONNUMBER_ELTYPE_MESSAGE, NonNumberEltypeError,
104104
GENERIC_NUMBER_TYPE_ERROR_MESSAGE, GenericNumberTypeError, COMPLEX_SUPPORT_ERROR_MESSAGE, ComplexSupportError, COMPLEX_TSPAN_ERROR_MESSAGE, ComplexTspanError,
105105
TUPLE_STATE_ERROR_MESSAGE, TupleStateError, MASS_MATRIX_ERROR_MESSAGE, IncompatibleMassMatrixError, LATE_BINDING_TSTOPS_ERROR_MESSAGE, LateBindingTstopsNotSupportedError,
106106
NONCONCRETE_ELTYPE_MESSAGE, NonConcreteEltypeError, _vec

src/solve.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ function check_prob_alg_pairing(prob, alg)
866866
prob.noise !== nothing &&
867867
size(prob.noise_rate_prototype, 2) != length(prob.noise.W[1])
868868
throw(
869-
NoiseSizeIncompatabilityError(
869+
NoiseSizeIncompatibilityError(
870870
size(prob.noise_rate_prototype, 2),
871871
length(prob.noise.W[1])
872872
)

test/downstream/solve_error_handling.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ prob = SDEProblem(
7373
noise_rate_prototype = complex(zeros(2, 4)),
7474
noise = StochasticDiffEq.RealWienerProcess(0.0, zeros(3))
7575
)
76-
@test_throws SciMLBase.NoiseSizeIncompatabilityError solve(prob, LambaEM())
76+
@test_throws SciMLBase.NoiseSizeIncompatibilityError solve(prob, LambaEM())
7777

7878
function g!(du, u, p, t)
7979
du[1] .= u[1] + ones(3, 3)

0 commit comments

Comments
 (0)