From a00cc6b43689bb28213957b6fc15fd6f953ba2f0 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Wed, 26 Aug 2026 05:12:13 -0400 Subject: [PATCH] Fix doctest failure in find_identifiable_functions AbstractAlgebra/Nemo now print multivariate terms in a different variable order, so the expected doctest output (`a12 + a01 + a21`) no longer matches the actual output (`a01 + a12 + a21`). Also add the `Logging.disable_logging(Logging.Info)` doctest setup that every other doctest in this file's neighbors already uses, since the `@info` messages emitted by `find_identifiable_functions` were being captured by Documenter and were never part of the expected `# output` block, causing the doctest to fail independently of the term ordering. Co-authored-by: Cursor --- src/identifiable_functions.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/identifiable_functions.jl b/src/identifiable_functions.jl index 81eb9d6db..a186e0c64 100644 --- a/src/identifiable_functions.jl +++ b/src/identifiable_functions.jl @@ -30,7 +30,7 @@ This function takes the following optional arguments: ## Example -```jldoctest +```jldoctest; setup = :(using Logging; Logging.disable_logging(Logging.Info);) using StructuralIdentifiability ode = @ODEmodel( @@ -44,8 +44,8 @@ find_identifiable_functions(ode) # output 2-element Vector{AbstractAlgebra.Generic.FracFieldElem{Nemo.QQMPolyRingElem}}: - a12 + a01 + a21 - a12*a01 + a01 + a12 + a21 + a01*a12 ``` """