Skip to content

Commit 9cbaac9

Browse files
committed
Fix bugs
1 parent dd225c9 commit 9cbaac9

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

create_Modia3D_sysimage.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# to generate a sysimage of your current project and store it in your current working directory.
1010
# Before generating the sysimage, the following packages are added to your current project (if not yet included):
1111
#
12-
# Modia, Modia3D, ModiaPlot_PyPlot, PackageCompiler, Revise
12+
# Modia, Modia3D, SignalTablesInterface_PyPlot, PackageCompiler, Revise
1313
#
1414
module Create_Modia3D_sysimage
1515

@@ -21,7 +21,7 @@ import Pkg
2121
project = Pkg.project()
2222
projectPath = project.path
2323
availablePackages = keys(project.dependencies)
24-
addPackages = setdiff!(["Modia", "Modia3D", "ModiaPlot_PyPlot", "PackageCompiler", "Revise"], availablePackages)
24+
addPackages = setdiff!(["Modia", "Modia3D", "SignalTablesInterface_PyPlot", "PackageCompiler", "Revise"], availablePackages)
2525
println("!!! Creating sysimage for Modia3D (executing: $file)")
2626
println("!!! This will include all packages from project $projectPath")
2727
if length(addPackages) > 0

src/Composition/joints/joints.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ function change_rotSequence!(m::Modia.SimulationModel, freeMotion::FreeMotion, x
647647
freeMotion.rot = rot123fromR(Rfromrot132(freeMotion.rot))
648648
freeMotion.isrot123 = true
649649
end
650-
Modia.addExtraResult!(m, freeMotion.iextra_isrot123, freeMotion.isrot123)
650+
Modia.add_w_segmented_value!(m, freeMotion.iextra_isrot123, freeMotion.isrot123)
651651

652652
# Change x-vector
653653
startIndex = freeMotion.ix_segmented_rot

test/old/Plot_SlidingFriction.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Plot_SlidingFriction
22

3-
import ModiaPlot_PyPlot: PyCall, PyPlot
3+
import SignalTablesInterface_PyPlot: PyCall, PyPlot
44

55
pyplot_rc = PyCall.PyDict(PyPlot.matplotlib."rcParams")
66
pyplot_rc["font.size"] = 10.0

test/old/Plot_cor.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Plot_cor
22

33
import Modia3D
4-
import ModiaPlot_PyPlot: PyCall, PyPlot
4+
import SignalTablesInterface_PyPlot: PyCall, PyPlot
55

66
pyplot_rc = PyCall.PyDict(PyPlot.matplotlib."rcParams")
77
pyplot_rc["font.size"] = 10.0

0 commit comments

Comments
 (0)