Skip to content

Commit

Permalink
Test release v0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
siko1056 committed Oct 28, 2021
1 parent cc98f14 commit 79e0d03
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: apa
version: 0.1.4
date: 2021-10-26
version: 0.1.5
date: 2021-10-28
author: Kai T. Ohlhus <[email protected]>
maintainer: Kai T. Ohlhus <[email protected]>
title: Octave/Matlab arbitrary precision arithmetic.
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
From the Octave command-line run:

```octave
pkg install 'https://github.com/gnu-octave/apa/releases/download/v0.1.4/apa-0.1.4.zip'
pkg install 'https://github.com/gnu-octave/apa/releases/download/v0.1.5/apa-0.1.5.zip'
pkg load apa
pkg test apa
```

From the Matlab command-line run (also works for Octave):

```matlab
urlwrite ('https://github.com/gnu-octave/apa/releases/download/v0.1.4/apa-0.1.4.zip', ...
'apa-0.1.4.zip');
unzip ('apa-0.1.4.zip');
cd (fullfile ('apa-0.1.4', 'inst'))
urlwrite ('https://github.com/gnu-octave/apa/releases/download/v0.1.5/apa-0.1.5.zip', ...
'apa-0.1.5.zip');
unzip ('apa-0.1.5.zip');
cd (fullfile ('apa-0.1.5', 'inst'))
install_apa
test_apa
```
Expand Down
8 changes: 4 additions & 4 deletions doc/MEX_INTERFACE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ If those pre-compiled libraries are missing or not working, please read below.
From the Octave/Matlab command-line run:

```matlab
urlwrite ('https://github.com/gnu-octave/apa/releases/download/v0.1.4/apa-0.1.4.zip', ...
'apa-0.1.4.zip');
unzip ('apa-0.1.4.zip');
cd (fullfile ('apa-0.1.4', 'inst'))
urlwrite ('https://github.com/gnu-octave/apa/releases/download/v0.1.5/apa-0.1.5.zip', ...
'apa-0.1.5.zip');
unzip ('apa-0.1.5.zip');
cd (fullfile ('apa-0.1.5', 'inst'))
install_apa
test_apa
```
Expand Down
2 changes: 1 addition & 1 deletion inst/install_apa.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function install_apa (cmd)
cflags = {'--std=c99', '-Wall', '-Wextra'};
if (ismac ())
cflags = [cflags, {'-Xpreprocessor', '-fopenmp'}];
if (exist('OCTAVE_VERSION', 'builtin') == 5)
if (exist ('OCTAVE_VERSION', 'builtin') == 5)
ldflags = {'-lomp'};
else
% Matlab crashes when `gomp` is linked, use omp shipped with Matlab.
Expand Down
2 changes: 2 additions & 0 deletions inst/mex/mex_apa_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,6 @@ FILE * __cdecl __acrt_iob_func (unsigned index)

typedef FILE *__cdecl (*_f__acrt_iob_func)(unsigned index);
_f__acrt_iob_func __MINGW_IMP_SYMBOL (__acrt_iob_func) = __acrt_iob_func;

#endif

0 comments on commit 79e0d03

Please sign in to comment.