Skip to content

Commit

Permalink
Fix: neural_nets_lib migration, old comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lukstafi committed Apr 24, 2024
1 parent d097497 commit 8fe2305
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
dune-cache: true
allow-prerelease-opam: true
- run: opam pin -n .
- run: opam depext -yt ocannl_npy arrayjit ocannl
- run: opam depext -yt ocannl_npy arrayjit neural_nets_lib
- run: opam install . --deps-only --with-test --with-doc
- run: opam exec -- dune build
- run: opam exec -- dune runtest
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: opam pin -n .

- name: Depext
run: opam depext -yt ocannl_npy arrayjit ocannl
run: opam depext -yt ocannl_npy arrayjit neural_nets_lib

- name: Deps
run: opam install -d . --deps-only
Expand Down
2 changes: 1 addition & 1 deletion lib/ppx_cd.ml
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ type extension = Cd | Dt | Rs [@@deriving equal, variants]
let expr_expander ~loc ~path:_ payload =
match payload with
| { pexp_desc = Pexp_let (recflag, bindings, body); _ } ->
(* We are at the %ocannl annotation level: do not tranlsate the body. *)
(* We are at the %cd annotation level: do not tranlsate the body. *)
let bindings =
List.map bindings ~f:(fun vb ->
let v = translate ~ident_label:vb.pvb_pat vb.pvb_expr in
Expand Down
2 changes: 1 addition & 1 deletion lib/ppx_op.ml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ let rec translate ?ident_label expr =
let expr_expander ~loc ~path:_ payload =
match payload with
| { pexp_desc = Pexp_let (recflag, bindings, body); _ } ->
(* We are at the %ocannl annotation level: do not tranlsate the body. *)
(* We are at the %op annotation level: do not tranlsate the body. *)
let vbss, bindings =
List.unzip
@@ List.map bindings ~f:(fun vb ->
Expand Down

0 comments on commit 8fe2305

Please sign in to comment.