Skip to content

Commit

Permalink
fix VampIR runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Jul 3, 2023
1 parent 91055b8 commit 59a6512
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extra-source-files:
- juvix-stdlib/**/*.juvix
- runtime/include/**/*.h
- runtime/**/*.a
- runtime/vampir/*.pir
- runtime/src/vampir/*.pir

dependencies:
- aeson == 2.0.*
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/vampir/stdlib.pir
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def msb n x = {
};

def isNegativeN n x = 1 - msb n (x + 2^(n - 1));
def isNegative x = isNegativeN integerBits;
def isNegative x = isNegativeN integerBits x;

def add x y = x + y;
def sub x y = x - y;
Expand Down

0 comments on commit 59a6512

Please sign in to comment.