Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nifty_gridder
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ift
nifty_gridder
Commits
323c2636
Commit
323c2636
authored
Oct 14, 2019
by
Martin Reinecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ee492217
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
nifty_gridder.cc
nifty_gridder.cc
+2
-2
No files found.
nifty_gridder.cc
View file @
323c2636
...
...
@@ -329,9 +329,9 @@ class PyGridderConfig: public GridderConfig
}
py
::
array
apply_taper
(
const
py
::
array
&
img
,
bool
divide
)
const
{
if
(
isPytype
<
complex
<
float
>
>
(
img
))
if
(
isPytype
<
float
>
(
img
))
return
apply_taper2
<
float
>
(
img
,
divide
);
if
(
isPytype
<
complex
<
double
>
>
(
img
))
if
(
isPytype
<
double
>
(
img
))
return
apply_taper2
<
double
>
(
img
,
divide
);
myfail
(
"type matching failed: 'img' has neither type 'f4' nor 'f8'"
);
}
...
...
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