Skip to content

Commit d232162

Browse files
committed
appendVariable!(v1,v2) generalized to any collection of v2
1 parent 552a9ee commit d232162

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ModiaBase.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module ModiaBase
1010

1111
const path = dirname(dirname(@__FILE__)) # Absolute path of package directory
1212
const Version = "0.9.0-dev"
13-
const Date = "2022-02-06"
13+
const Date = "2022-02-13"
1414

1515
#println("\nImporting ModiaBase Version $Version ($Date)")
1616

@@ -19,8 +19,8 @@ import StaticArrays
1919

2020

2121
# append! as needed in EquationAndStateInfo.jl and in ModiaLang/src/CodeGeneration.jl
22-
appendVariable!(v1::AbstractVector, s::Number) = push!(v1,s)
23-
appendVariable!(v1::AbstractVector, v2::AbstractVector) = append!(v1,v2)
22+
appendVariable!(v1::AbstractVector, s::Number) = push!(v1,s)
23+
appendVariable!(v1::AbstractVector, v2) = append!(v1,v2)
2424

2525

2626
include("LinearIntegerEquations.jl")

0 commit comments

Comments
 (0)