Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
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
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_pdata
Commits
635e42c1
Commit
635e42c1
authored
Oct 06, 2020
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing patch creation
parent
298e5751
Pipeline
#2260
failed with stages
in 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/Grid/py/python_numpy_patch.hpp
src/Grid/py/python_numpy_patch.hpp
+3
-1
No files found.
src/Grid/py/python_numpy_patch.hpp
View file @
635e42c1
...
...
@@ -103,7 +103,7 @@ class numpy_patch_class
public:
template
<
typename
grid_type
>
inline
int
create_numpy_patches
(
openfpm
::
vector
<
dev_grid
>
&
dev_g
,
grid_type
&
g
)
inline
PyObject
*
create_numpy_patches
(
openfpm
::
vector
<
dev_grid
>
&
dev_g
,
grid_type
&
g
)
{
// This is a macro it return error in case it fail;
if
(
PyArray_API
==
NULL
)
...
...
@@ -130,6 +130,8 @@ public:
boost
::
mpl
::
for_each_ref
<
boost
::
mpl
::
range_c
<
int
,
0
,
dev_grid
::
value_type
::
max_prop
>>
(
cpy
);
}
return
0
;
}
};
...
...
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