Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libsharp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository 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
Maurizio Tomasi
libsharp
Commits
8a975e92
Commit
8a975e92
authored
3 years ago
by
Maurizio Tomasi
Browse files
Options
Downloads
Patches
Plain Diff
Add a debug printf to stderr
parent
ecb8cda4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libsharp2/sharp.h
+2
-0
2 additions, 0 deletions
libsharp2/sharp.h
libsharp2/sharp_geomhelpers.h
+1
-1
1 addition, 1 deletion
libsharp2/sharp_geomhelpers.h
with
3 additions
and
1 deletion
libsharp2/sharp.h
+
2
−
0
View file @
8a975e92
...
@@ -25,6 +25,8 @@
...
@@ -25,6 +25,8 @@
* \author Martin Reinecke \author Dag Sverre Seljebotn
* \author Martin Reinecke \author Dag Sverre Seljebotn
*/
*/
// Hacked by Maurizio Tomasi for debugging purposes
//
#ifndef SHARP_SHARP_H
#ifndef SHARP_SHARP_H
#define SHARP_SHARP_H
#define SHARP_SHARP_H
...
...
This diff is collapsed.
Click to expand it.
libsharp2/sharp_geomhelpers.h
+
1
−
1
View file @
8a975e92
...
@@ -62,7 +62,7 @@ void sharp_make_weighted_healpix_geom_info (int nside, int stride,
...
@@ -62,7 +62,7 @@ void sharp_make_weighted_healpix_geom_info (int nside, int stride,
static
inline
void
sharp_make_healpix_geom_info
(
int
nside
,
int
stride
,
static
inline
void
sharp_make_healpix_geom_info
(
int
nside
,
int
stride
,
sharp_geom_info
**
geom_info
)
sharp_geom_info
**
geom_info
)
{
{
printf
(
"
size_t size = %ul
\n
"
,
sizeof
(
size_t
));
f
printf
(
stderr
,
"**ugly_printf**
size_t size = %ul
\n
"
,
sizeof
(
size_t
));
sharp_make_weighted_healpix_geom_info
(
nside
,
stride
,
NULL
,
geom_info
);
}
sharp_make_weighted_healpix_geom_info
(
nside
,
stride
,
NULL
,
geom_info
);
}
...
...
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