Skip to content

Commit

Permalink
Fix map() in hoa.lib
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreguillot authored and sletz committed Apr 13, 2020
1 parent 32b9060 commit 3f4809e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hoa.lib
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ with {
//-----------------------------------------------------
map(n, x, r, a) = encoder(n, x * volume(r), a) : wider(n, ouverture(r))
with {
volume(r) = 1. / (r * r * (r > 1) + (r < 1));
ouverture(r) = r * (r < 1) + (r > 1);
volume(r) = 1. / (r * r * (r > 1) + (r =< 1));
ouverture(r) = r * (r < 1) + (r >= 1);
};


Expand Down

0 comments on commit 3f4809e

Please sign in to comment.