Skip to content
Snippets Groups Projects
Commit 177d021d authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

octave: Use vector_value()

parent 55b2dde0
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ DEFUN_DLD(duneevaluate, args, nargout, "duneevaluate(y)\n\ ...@@ -16,7 +16,7 @@ DEFUN_DLD(duneevaluate, args, nargout, "duneevaluate(y)\n\
Evaluate x -> 1/2<Ax,x> - <b,x> + H(|x|) at y using DUNE\n") { Evaluate x -> 1/2<Ax,x> - <b,x> + H(|x|) at y using DUNE\n") {
assert(args.length() == 1); assert(args.length() == 1);
assert(nargout <= 1); assert(nargout <= 1);
ColumnVector point(args(0).matrix_value()); ColumnVector point(args(0).vector_value());
int const dim = 2; int const dim = 2;
......
...@@ -16,7 +16,7 @@ DEFUN_DLD(duneminimise, args, nargout, "duneminimise(y)\n\ ...@@ -16,7 +16,7 @@ DEFUN_DLD(duneminimise, args, nargout, "duneminimise(y)\n\
Make a minimisation step of x -> 1/2<Ax,x> - <b,x> + H(|x|) using DUNE starting at x\n") { Make a minimisation step of x -> 1/2<Ax,x> - <b,x> + H(|x|) using DUNE starting at x\n") {
assert(args.length() == 1); assert(args.length() == 1);
assert(nargout <= 1); assert(nargout <= 1);
ColumnVector current(args(0).matrix_value()); ColumnVector current(args(0).vector_value());
int const dim = 2; int const dim = 2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment