Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
openmesh-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenMesh
openmesh-python
Commits
b3189504
Commit
b3189504
authored
Jul 10, 2018
by
Alexander Dielen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow scalars in property_array functions (fixes
#22
)
parent
ed435703
Pipeline
#7296
passed with stages
in 5 minutes and 48 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
MeshTypes.hh
src/MeshTypes.hh
+1
-1
No files found.
src/MeshTypes.hh
View file @
b3189504
...
...
@@ -140,7 +140,7 @@ public:
PyErr_SetString
(
PyExc_RuntimeError
,
"Array shapes do not match."
);
throw
py
::
error_already_set
();
}
std
::
copy
(
arr
.
data
(
0
),
arr
.
data
(
0
)
+
size
,
&
data
[
size
*
i
]);
std
::
copy
(
arr
.
data
(
),
arr
.
data
(
)
+
size
,
&
data
[
size
*
i
]);
}
return
py
::
array_t
<
double
>
(
shape
,
strides
,
data
,
base
);
...
...
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