Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CaosDB Octave library
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Octave library
Commits
9ae59ecd
Commit
9ae59ecd
authored
3 years ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
STY: Style fixes.
parent
3e32a5bd
No related branches found
No related tags found
1 merge request
!2
ENH: Retrieving single entities works on the mex side.
Pipeline
#11859
passed with warnings
3 years ago
Stage: setup
Stage: test
Stage: deploy
Pipeline: caosdb-octaveinttest
#11866
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Caosdb.m
+2
-2
2 additions, 2 deletions
src/Caosdb.m
src/lib/maoxdb.hpp
+1
-1
1 addition, 1 deletion
src/lib/maoxdb.hpp
with
3 additions
and
3 deletions
src/Caosdb.m
+
2
−
2
View file @
9ae59ecd
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/lib/maoxdb.hpp
+
1
−
1
View file @
9ae59ecd
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment