From a9c6d7b13bc84c444e49fe8cd34730031777d7bb Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Wed, 13 Nov 2024 15:21:40 +1300 Subject: [PATCH] [docs] fix printing change in DimensionalData.jl (#3880) --- docs/Project.toml | 2 +- docs/src/extensions/DimensionalData.md | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index 2982f560b5c..d554811d7ee 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -45,7 +45,7 @@ CSV = "0.10" Clarabel = "=0.9.0" DataFrames = "1" DifferentiationInterface = "0.6.5" -DimensionalData = "0.29.0" +DimensionalData = "=0.29.1" Distributions = "0.25" Documenter = "=1.7.0" DocumenterCitations = "1" diff --git a/docs/src/extensions/DimensionalData.md b/docs/src/extensions/DimensionalData.md index 1850b221a39..02b05e8afd5 100644 --- a/docs/src/extensions/DimensionalData.md +++ b/docs/src/extensions/DimensionalData.md @@ -41,9 +41,9 @@ julia> @variable( x[i = 2:4, j = ["a", "b"]] >= i, container = DimensionalData.DimArray, ) -╭─────────────────────────────╮ -│ 3×2 DimArray{VariableRef,2} │ -├─────────────────────────────┴─────────────────── dims ┐ +╭──────────────────────────────╮ +│ 3×2 DimArray{VariableRef, 2} │ +├──────────────────────────────┴────────────────── dims ┐ ↓ i Sampled{Int64} 2:4 ForwardOrdered Regular Points, → j Categorical{String} ["a", "b"] ForwardOrdered └───────────────────────────────────────────────────────┘ @@ -72,9 +72,9 @@ julia> @expression( sum(x[At(i), At(j)] for i in 2:4), container = DimensionalData.DimArray, ) -╭───────────────────────────────╮ -│ 2-element DimArray{AffExpr,1} │ -├───────────────────────────────┴───────────── dims ┐ +╭────────────────────────────────╮ +│ 2-element DimArray{AffExpr, 1} │ +├────────────────────────────────┴──────────── dims ┐ ↓ j Categorical{String} ["a", "b"] ForwardOrdered └───────────────────────────────────────────────────┘ "a" x[2,a] + x[3,a] + x[4,a] @@ -89,7 +89,7 @@ julia> @constraint( container = DimensionalData.DimArray, ) ╭──────────────────────────────────────────────────────────────────────────────╮ -│ 2-element DimArray{ConstraintRef{Model, MathOptInterface.ConstraintIndex{MathOptInterface.ScalarAffineFunction{Float64}, MathOptInterface.LessThan{Float64}}, ScalarShape},1} │ +│ 2-element DimArray{ConstraintRef{Model, MathOptInterface.ConstraintIndex{MathOptInterface.ScalarAffineFunction{Float64}, MathOptInterface.LessThan{Float64}}, ScalarShape}, 1} │ ├──────────────────────────────────────────────────────────────────────── dims ┤ ↓ j Categorical{String} ["a", "b"] ForwardOrdered └──────────────────────────────────────────────────────────────────────────────┘