From 3a44be625faaf960e37dbbc9af84e1c55e893c87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Balv=C3=ADn?= Date: Mon, 28 Sep 2026 10:48:13 +0200 Subject: [PATCH] docs(integrate): reword the integer-state refusal comment --- integrate/symplectic2.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/integrate/symplectic2.go b/integrate/symplectic2.go index 388d101..8d5083d 100644 --- a/integrate/symplectic2.go +++ b/integrate/symplectic2.go @@ -129,9 +129,10 @@ func verletPrelude(name string, q0, p0 *core.Array) (q, p []float64, n int, err // integerState reports whether dt is one of the integer-class state // dtypes the symplectic family refuses: bool and the narrow integer -// widths follow Int into the standing "int states cannot integrate" -// refusal, exactly as the round's follow-Int rule requires. The float -// dtypes, float16 included, keep the treatment they carry today. +// widths carry a discrete state with no place in a continuous +// integrator, so they follow Int into the standing "int states cannot +// integrate" refusal. The float dtypes, float16 included, keep the +// treatment they carry today. func integerState(dt core.Dtype) bool { switch dt { case core.Bool, core.Int, core.Int8, core.Uint8, core.Int16, core.Uint16, core.Int32, core.Uint32: