Skip to content

Commit 558c64e

Browse files
committed
connect fixed
1 parent 8d71b3e commit 558c64e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/heta_cli/connect.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ function load_jlplatform(
7070

7171
# version check
7272
version = args[3]
73-
@assert version == HETA_COMPILER_VERSION "The model was built with Heta compiler v$version, which is not supported.\n" *
74-
"This HetaSimulator release includes Heta compiler v$HETA_COMPILER_VERSION. Please re-compile the model with HetaSimulator load_platform()."
73+
@assert version == HETA_COMPILER_VERSION "The model was build with Heta compiler v$version, which is not supported.\n"*
74+
"This HetaSimulator release includes Heta compiler v$HETA_COMPILER_VERSION. Please re-compile the model with HetaSimulator load_platform()."
7575

7676
# build the Platform using the returned tuple
7777
platform = Base.invokelatest(Platform, args...)

test/dummy_jlmodel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
This code was generated by heta-compiler 0.0.1
33
=#
44

5-
__platform__ = (function()
5+
(function()
66

77
### NO MODEL CODE ###
88

0 commit comments

Comments
 (0)