Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
V
VILLAScommon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ACS
P
Public
VILLASframework
VILLAScommon
Commits
44eb1b40
Commit
44eb1b40
authored
Apr 10, 2019
by
Steffen Vogel
🎅🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix invocation of Table::row()
parent
c1c43593
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
include/villas/table.hpp
include/villas/table.hpp
+2
-2
lib/hist.cpp
lib/hist.cpp
+2
-2
No files found.
include/villas/table.hpp
View file @
44eb1b40
...
...
@@ -43,7 +43,7 @@ public:
};
protected:
int
_width
;
/**< The real width of this column. Calculated by
table_header
() */
int
_width
;
/**< The real width of this column. Calculated by
Table::resize
() */
int
width
;
/**< Width of the column. */
...
...
@@ -95,4 +95,4 @@ public:
}
};
/** @} */
\ No newline at end of file
/** @} */
lib/hist.cpp
View file @
44eb1b40
...
...
@@ -172,7 +172,7 @@ void hist_plot(const struct hist *h)
std
::
vector
<
TableColumn
>
cols
=
{
{
-
9
,
TableColumn
::
align
::
RIGHT
,
"Value"
,
"%+9.3g"
},
{
-
6
,
TableColumn
::
align
::
RIGHT
,
"Count"
,
"%6ju"
},
{
0
,
TableColumn
::
align
::
LEFT
,
"Plot"
,
"%s"
,
"occurences"
}
{
0
,
TableColumn
::
align
::
LEFT
,
"Plot"
,
"%s"
,
"occurences"
}
};
Table
table
=
Table
(
cols
);
...
...
@@ -189,7 +189,7 @@ void hist_plot(const struct hist *h)
for
(
int
i
=
0
;
i
<
bar
;
i
++
)
buf
=
strcatf
(
&
buf
,
"\u2588"
);
table
.
row
(
value
,
cnt
,
buf
);
table
.
row
(
3
,
value
,
cnt
,
buf
);
free
(
buf
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment