From c2afcdab6b8756998139f222bc766ec053468f2d Mon Sep 17 00:00:00 2001 From: ChrisRackauckas Date: Mon, 29 Dec 2025 09:45:59 -0500 Subject: [PATCH] Fix grammar and typo in documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - README.md: Fix broken sentence "These methods function a submodel" -> "These methods construct a submodel via a projection" - README.md: Fix "approximation information" -> "approximate information" - src/utils.jl: Fix typo in docstring "Returns true is" -> "Returns true if" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- README.md | 4 ++-- src/utils.jl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cd60427..6f4711f 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ ModelOrderReduction.jl is a package for automatically reducing the computational complexity of mathematical models, while keeping expected fidelity within a controlled error bound. -These methods function a submodel with a projection -where solving the smaller model gives approximation information about the full model. +These methods construct a submodel via a projection +where solving the smaller model gives approximate information about the full model. MOR.jl uses [ModelingToolkit.jl](https://docs.sciml.ai/ModelingToolkit/stable/) as a system description and automatically transforms equations to the subform, defining the observables to automatically lazily reconstruct the full diff --git a/src/utils.jl b/src/utils.jl index 2e6bfca..fddcff8 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -28,7 +28,7 @@ end """ $(SIGNATURES) -Returns `true` is `expr` contains variables in `dvs` only and does not contain `iv`. +Returns `true` if `expr` contains variables in `dvs` only and does not contain `iv`. """ function only_dvs(expr, dvs, iv)