Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
be3571ba
Commit
be3571ba
authored
1 year ago
by
AlQuemist
Browse files
Options
Downloads
Patches
Plain Diff
PyCore/Embed/PyInterpreter: add comment
parent
f3bdf9cd
No related branches found
No related tags found
1 merge request
!2274
PyCore tests; rm old Python API
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PyCore/Embed/PyInterpreter.cpp
+1
-0
1 addition, 0 deletions
PyCore/Embed/PyInterpreter.cpp
with
1 addition
and
0 deletions
PyCore/Embed/PyInterpreter.cpp
+
1
−
0
View file @
be3571ba
...
@@ -180,6 +180,7 @@ PyObjectPtr PyInterpreter::import(const std::string& pymodule_name, const std::s
...
@@ -180,6 +180,7 @@ PyObjectPtr PyInterpreter::import(const std::string& pymodule_name, const std::s
{
{
ASSERT
(
!
pymodule_name
.
empty
());
ASSERT
(
!
pymodule_name
.
empty
());
// initialize numpy which might be needed
PyInterpreter
::
Numpy
::
initialize
();
PyInterpreter
::
Numpy
::
initialize
();
if
(
!
path
.
empty
())
if
(
!
path
.
empty
())
...
...
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