Skip to content

Commit

Permalink
chore: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
leventdem committed Apr 9, 2024
1 parent 4a8c703 commit d98c02f
Show file tree
Hide file tree
Showing 10 changed files with 561 additions and 4 deletions.
8 changes: 4 additions & 4 deletions codegen/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ function tfheEncryptedOperator(
operator.returnType == ReturnType.Uint
? `euint${outputBits}`
: operator.returnType == ReturnType.Ebool
? `ebool`
: assert(false, 'Unknown return type');
? `ebool`
: assert(false, 'Unknown return type');
const returnTypeOverload: ArgumentType =
operator.returnType == ReturnType.Uint ? ArgumentType.EUint : ArgumentType.Ebool;
const scalarFlag = operator.hasEncrypted && operator.hasScalar ? ', false' : '';
Expand Down Expand Up @@ -372,8 +372,8 @@ function tfheScalarOperator(
operator.returnType == ReturnType.Uint
? `euint${outputBits}`
: operator.returnType == ReturnType.Ebool
? `ebool`
: assert(false, 'Unknown return type');
? `ebool`
: assert(false, 'Unknown return type');
const returnTypeOverload = operator.returnType == ReturnType.Uint ? ArgumentType.EUint : ArgumentType.Ebool;
var scalarFlag = operator.hasEncrypted && operator.hasScalar ? ', true' : '';
const leftOpName = operator.leftScalarInvertOp ?? operator.name;
Expand Down
Loading

0 comments on commit d98c02f

Please sign in to comment.