Skip to content

Commit

Permalink
Updated NeuralNetwork1 gt test data.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinffernandez committed Nov 3, 2022
1 parent dabc29b commit b05dfcb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mmoc/tests/system/gt_data/NeuralNetwork1/NeuralNetwork1.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void MOD_definition(int idx, double *x, double *d, double *a, double t, double *
if (_is_var_V(idx)) {
_get_V_idxs(idx);
_apply_usage_alg_eq_1(_d1);
if ((_d2 >= 1 && _d2 <= 1) && (i >= 1 && i <= 100)) {
if ((i >= 1 && i <= 100)) {
_Is(i,0) = _Islast(i)*exp(-(_time-_tlast(i))/_taus);
_Is(i,1) = 0;
}
Expand Down Expand Up @@ -180,7 +180,7 @@ void MOD_dependencies(int idx, double *x, double *d, double *a, double t, double
if (_is_var_V(idx)) {
_get_V_idxs(idx);
_apply_usage_alg_eq_1(_d1);
if ((_d2 >= 1 && _d2 <= 1) && (i >= 1 && i <= 100)) {
if ((i >= 1 && i <= 100)) {
_Is(i,0) = _Islast(i)*exp(-(_time-_tlast(i))/_taus);
_Is(i,1) = 0;
}
Expand All @@ -204,7 +204,7 @@ void MOD_BDF_definition(double *x, double *d, double *a, double t, double *dx, i
if (_is_var_V(idx)) {
_get_V_idxs(idx);
_apply_usage_alg_eq_1(_d1);
if ((_d2 >= 1 && _d2 <= 1) && (i >= 1 && i <= 100)) {
if ((i >= 1 && i <= 100)) {
_Is(i,0) = _Islast(i)*exp(-(_time-_tlast(i))/_taus);

}
Expand Down

0 comments on commit b05dfcb

Please sign in to comment.