Skip to content

Commit

Permalink
More...
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharth-maddali committed May 1, 2020
1 parent e8f00eb commit e668b71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ xsmooth = HierarchicalSmoothOctave( tri, xdat, fl, ntype );
```

* The array dimensions expected by the Matlab/Octave code are:
- `tri`: $N \times 3$
- `xdat`: $3 \times N$
- `fl`: $N \times 2$
- `ntype`: $N \times 1$
- `tri`: N ⨉ 3
- `xdat`: 3 ⨉ N
- `fl`: N ⨉ 2
- `ntype`: N ⨉ 1

Failing this Eigen _will_ complain, and you might experience a Matlab/Octave crash, because currently there is no mechanism to handle Eigen errors.
A good way to deal with this is to call the compiled MEX binary inside a custom Matlab/Octave function, within which all the necessary error handling may be done.
Expand Down

0 comments on commit e668b71

Please sign in to comment.