Skip to content

Conversation

@ChrisRackauckas
Copy link
Member

Summary

Fixes a compilation error caused by incorrect function name determine_event_occurrence which should be determine_event_occurance (missing 'r').

Problem

The package failed to load due to UndefVarError: determine_event_occurrence not defined in DiffEqBase. This is because the actual function name in DiffEqBase has a spelling error: determine_event_occurance (missing 'r' in "occurrence").

Changes Made

  • Fixed function call: DiffEqBase.determine_event_occurrenceDiffEqBase.determine_event_occurance
  • Fixed function definition: @inline function DiffEqBase.determine_event_occurrence@inline function DiffEqBase.determine_event_occurance

Files Modified

  • src/ensemblegpukernel/integrators/integrator_utils.jl: Fixed both the function call and definition

Test Plan

  • Package now loads without compilation errors: using DiffEqGPU works successfully
  • Function signature matches DiffEqBase internal API
  • Full CI test suite (some existing test failures are unrelated to this fix)

Notes

The spelling error in the function name is preserved in DiffEqBase for backward compatibility with internal APIs. This fix ensures DiffEqGPU.jl remains compatible with the current DiffEqBase implementation.

🤖 Generated with Claude Code

@ChrisRackauckas ChrisRackauckas force-pushed the fix-determine-event-occurrence-spelling branch from bd5724c to e811c7b Compare July 31, 2025 10:11
@ChrisRackauckas ChrisRackauckas merged commit a50735a into master Jul 31, 2025
5 of 16 checks passed
@ChrisRackauckas ChrisRackauckas deleted the fix-determine-event-occurrence-spelling branch July 31, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants