Skip to content

Commit

Permalink
fix(compiler): Macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
BourgerieQuentin committed Nov 12, 2024
1 parent bbbf8ef commit bd9332b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ Result<TransportValue> importTfhersInteger(llvm::ArrayRef<uint8_t> buffer,
lwe.setIntegerPrecision(64);
// dimensions
lwe.initAbstractShape().setDimensions(
::kj::ArrayPtr(abstractDims.data(), abstractDims.size()));
::kj::ArrayPtr<uint32_t>(abstractDims.data(), abstractDims.size()));
lwe.initConcreteShape().setDimensions(
::kj::ArrayPtr(concreteDims.data(), concreteDims.size()));
::kj::ArrayPtr<uint32_t>(concreteDims.data(), concreteDims.size()));
// encryption
auto encryption = lwe.initEncryption();
encryption.setLweDimension((uint32_t)integerDesc.lwe_size - 1);
Expand Down

0 comments on commit bd9332b

Please sign in to comment.