Skip to content
Snippets Groups Projects
Commit 9ae59ecd authored by Daniel Hornung's avatar Daniel Hornung
Browse files

STY: Style fixes.

parent 3e32a5bd
No related branches found
No related tags found
1 merge request!2ENH: Retrieving single entities works on the mex side.
Pipeline #11859 passed with warnings
Pipeline: caosdb-octaveinttest

#11866

    ......@@ -136,9 +136,9 @@ classdef Caosdb < handle
    % The retrieved entities.
    function entities = query(obj, query_str)
    % Ensure that QUERY is a string.
    assert(ischar(query_str), "maox:InvalidArgument", "QUERY must be a string, was:\n%s",
    assert(ischar(query_str), "maox:InvalidArgument", "QUERY must be a string, was:\n%s", ...
    disp(query_str));
    assert(nargin == 2, "maox:InvalidArgument", "This method accepts exactly 1 argument.")
    assert(nargin == 2, "maox:InvalidArgument", "This method accepts exactly 1 argument.");
    % disp("query:");
    % disp(query_str);
    try
    ......
    ......@@ -86,7 +86,7 @@ inline auto mxEmptySTRING() -> mxArray * {
    return array;
    }
    inline auto mxEmptySTRUCT() -> mxArray * {
    mxArray *array = mxCreateStructArray(0, (mwSize const*)nullptr, 0, (char const**)nullptr);
    mxArray *array = mxCreateStructArray(0, (mwSize const *)nullptr, 0, (char const **)nullptr);
    return array;
    }
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment