Преглед изворни кода

default translation function removed

Snej69420 пре 4 месеци
родитељ
комит
ea0d3ffd9e
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      benchmarks/Agents/Topologies.jl

+ 1 - 2
benchmarks/Agents/Topologies.jl

@@ -1,12 +1,11 @@
 @enum Structure LI HI HO HOmod
 
-const tIdentity = (msg::Int) -> msg
 const tScaled = (msg::Int) -> Int(floor(sqrt(msg) * 2))
 
 const translation_table = Dict(i => i + 100 for i in 0:1000)
 const tAccessed = (msg::Int) -> (get(translation_table, msg % 1000, msg))
 
-global active_z_function = tIdentity
+global active_z_function = tScaled
 
 # Port Config
 function setup_ports!(top_model::CoupledDEVS, type::Structure)