IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Air Shower Physics
corsika
Commits
b1af584f
Commit
b1af584f
authored
4 years ago
by
Ralf M Ulrich
Browse files
Options
Downloads
Patches
Plain Diff
fixed warnings
parent
ddf926d0
No related branches found
No related tags found
1 merge request
!278
Magnetic Tracking
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Framework/Analytics/testClassTimer.cc
+1
-1
1 addition, 1 deletion
Framework/Analytics/testClassTimer.cc
ThirdParty/cnpy/cnpy.cpp
+3
-3
3 additions, 3 deletions
ThirdParty/cnpy/cnpy.cpp
with
4 additions
and
4 deletions
Framework/Analytics/testClassTimer.cc
+
1
−
1
View file @
b1af584f
...
...
@@ -74,7 +74,7 @@ public:
class
fooT1
{
public:
template
<
typename
T1
,
typename
T2
>
int
inside_t
(
T1
a
,
T2
b
,
T2
c
)
{
int
inside_t
(
T1
,
T2
,
T2
)
{
return
123
;
}
};
...
...
This diff is collapsed.
Click to expand it.
ThirdParty/cnpy/cnpy.cpp
+
3
−
3
View file @
b1af584f
...
...
@@ -61,8 +61,8 @@ template<> std::vector<char>& cnpy::operator+=(std::vector<char>& lhs, const cha
void
cnpy
::
parse_npy_header
(
unsigned
char
*
buffer
,
size_t
&
word_size
,
std
::
vector
<
size_t
>&
shape
,
bool
&
fortran_order
)
{
//std::string magic_string(buffer,6);
uint8_t
major_version
=
*
reinterpret_cast
<
uint8_t
*>
(
buffer
+
6
);
uint8_t
minor_version
=
*
reinterpret_cast
<
uint8_t
*>
(
buffer
+
7
);
[[
maybe_unused
]]
uint8_t
major_version
=
*
reinterpret_cast
<
uint8_t
*>
(
buffer
+
6
);
[[
maybe_unused
]]
uint8_t
minor_version
=
*
reinterpret_cast
<
uint8_t
*>
(
buffer
+
7
);
uint16_t
header_len
=
*
reinterpret_cast
<
uint16_t
*>
(
buffer
+
8
);
std
::
string
header
(
reinterpret_cast
<
char
*>
(
buffer
+
9
),
header_len
);
...
...
@@ -196,7 +196,7 @@ cnpy::NpyArray load_the_npz_array(FILE* fp, uint32_t compr_bytes, uint32_t uncom
if
(
nread
!=
compr_bytes
)
throw
std
::
runtime_error
(
"load_the_npy_file: failed fread"
);
int
err
;
[[
maybe_unused
]]
int
err
;
z_stream
d_stream
;
d_stream
.
zalloc
=
Z_NULL
;
...
...
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