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
elpa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
10
Issues
10
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
elpa
elpa
Commits
ed838a35
Commit
ed838a35
authored
Nov 24, 2018
by
Andreas Marek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Error codes also in the python C functions
parent
7936304f
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
python/pyelpa/wrapper.pyx
python/pyelpa/wrapper.pyx
+4
-4
No files found.
python/pyelpa/wrapper.pyx
View file @
ed838a35
...
...
@@ -16,9 +16,9 @@ cdef import from "<elpa/elpa.h>":
pass
ctypedef
elpa_struct
*
elpa_t
int
elpa_init
(
int
api_version
)
void
elpa_uninit
()
void
elpa_uninit
(
int
*
error
)
elpa_t
elpa_allocate
(
int
*
error
)
void
elpa_deallocate
(
elpa_t
handle
)
void
elpa_deallocate
(
elpa_t
handle
,
int
*
error
)
int
elpa_setup
(
elpa_t
handle
)
void
elpa_set_integer
(
elpa_t
handle
,
const
char
*
name
,
int
value
,
int
*
error
)
void
elpa_get_integer
(
elpa_t
handle
,
const
char
*
name
,
int
*
value
,
int
*
error
)
...
...
@@ -100,8 +100,8 @@ cdef class Elpa:
def
__del__
(
self
):
"""Deallocation of handle and deinitialization"""
elpa_deallocate
(
<
elpa_t
>
self
.
handle
)
elpa_uninit
()
elpa_deallocate
(
<
elpa_t
>
self
.
handle
,
&
error
)
elpa_uninit
(
&
error
)
def
eigenvectors_d
(
self
,
np
.
ndarray
[
np
.
float64_t
,
ndim
=
2
]
a
,
...
...
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