Skip to content

CombiTimeTable: set up the time events at construction (0.3.4) - #19

Merged
JKRT merged 1 commit into
masterfrom
table-events-at-construction
Oct 4, 2026
Merged

JKRT merged 1 commit into
masterfrom
table-events-at-construction

Conversation

@JKRT

@JKRT JKRT commented Oct 4, 2026

Copy link
Copy Markdown
Member

getValue before a table's first nextTimeEvent read its unallocated event intervals and segfaulted. OMBackend evaluates the model before the initialization calls getNextTimeEvent; the MSL IntegerTable/BooleanTable (startTime = -1e60) crashed there (Blocks.Examples.Interaction1, Linux coverage). init2 now calls nextTimeEvent at max(startTime, first table time).

Checked: the new test segfaults without the change and passes with it; Interaction1 runs to t = 10 with its table outputs matching the reference; OM.jl's event-semantics tests (CombiTimeTable/BooleanTable models) 178 passed.

🤖 Generated with Claude Code

getValue before the table's first nextTimeEvent read its unallocated
event intervals and segfaulted (Blocks.Examples.Interaction1: OMBackend
evaluates the model before the initialization). init2 now calls
nextTimeEvent at max(startTime, first table time).

Assisted-by: Claude Opus 5.5
@JKRT
JKRT merged commit 8b8294f into master Oct 4, 2026
5 checks passed
@JKRT
JKRT deleted the table-events-at-construction branch October 23, 2026 18:45
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.

1 participant