Skip to content
Snippets Groups Projects
Verified Commit cd2bcad5 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Simplify example using “model_options” command

parent e046817d
No related branches found
No related tags found
1 merge request!1stack_solve_algo={2,3} now work in unstable without block nor bytecode
......@@ -50,20 +50,20 @@ rho = 0.8000;
effstar = 1.0000;
sigma2 = 0;
@#if !BLOCKS && !BYTECODE && !USE_DLL
model;
@#elseif BLOCKS && !BYTECODE && !USE_DLL
model(block, cutoff=@{CUTOFF_VALUE}, mfs=@{MFS_VALUE});
@#elseif !BLOCKS && BYTECODE
model(bytecode);
@#elseif BLOCKS && BYTECODE
model(block, bytecode, cutoff=@{CUTOFF_VALUE}, mfs=@{MFS_VALUE});
@#elseif !BLOCKS && USE_DLL
model(use_dll);
@#else
model(block, use_dll, cutoff=@{CUTOFF_VALUE}, mfs=@{MFS_VALUE});
@#if BLOCKS
model_options(block, cutoff=@{CUTOFF_VALUE}, mfs=@{MFS_VALUE});
@#endif
@#if USE_DLL
model_options(use_dll);
@#endif
@#if BYTECODE
model_options(bytecode);
@#endif
model;
// Eq. n°1:
efficiency = rho*efficiency(-1) + EfficiencyInnovation;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment