Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Marezki committed Dec 18, 2023
1 parent f3022f4 commit a725982
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ RUN UNATTENDED=yes OSX_VERSION_MIN=10.7 ./build.sh

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y

RUN echo "export PATH=\$PATH:/osxcross/target/bin" >> ~/.bashrc

WORKDIR /polymath

ADD entrypoint.sh /opt/entrypoint.sh
Expand Down
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

source $HOME/.cargo/env
export PATH=$PATH:/osxcross/target/bin
. $HOME/.cargo/env

exec "$@"

Binary file modified polymath-java/src/main/resources/linux-x86-64/libpolymath_c.so
Binary file not shown.
Binary file modified polymath-java/src/main/resources/win32-x86-64/polymath_c.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion polymath-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ mod test {
"<math display=\"block\"><mrow><mo>[</mo><mtable columnlines=\"none\"><mtr><mtd><mn>1</mn></mtd><mtd><mn>2</mn></mtd></mtr><mtr><mtd><mn>2</mn></mtd><mtd><mn>23</mn></mtd></mtr></mtable><mo>]</mo></mrow></math>"
);

test_parse!(
test_parse!(
test_vector_sum,
"[[1],[sum_1^2a]]",
"<math display=\"block\"><mrow><mo>[</mo><mtable columnlines=\"\"><mtr><mtd><mn>1</mn></mtd></mtr><mtr><mtd><munderover><mo>&#x2211;</mo><mn>1</mn><mn>2</mn></munderover><mi>a</mi></mtd></mtr></mtable><mo>]</mo></mrow></math>"
Expand Down

0 comments on commit a725982

Please sign in to comment.