Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate psi values on a sparse grid, to accelerate multiple calculations. #496

Merged
merged 5 commits into from
Jun 19, 2024

added doc note to _orbital_values

718b7ab
Select commit
Loading
Failed to load commit list.
Merged

Calculate psi values on a sparse grid, to accelerate multiple calculations. #496

added doc note to _orbital_values
718b7ab
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Jun 19, 2024 in 5s

8 new alerts including 6 errors

New alerts in code changed by this pull request

  • 6 errors
  • 1 warning
  • 1 note

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 4 in src/sisl/tests/test_sparse_grid.py

See this annotation in the file changed.

Code scanning / CodeQL

Module is imported with 'import' and 'import from' Note test

Module 'sisl' is imported with both 'import' and 'import from'.

Check warning on line 209 in src/sisl/_sparse_grid_ops.py

See this annotation in the file changed.

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'reduced_i' is unnecessary as it is
redefined
before this value is used.
This assignment to 'reduced_i' is unnecessary as it is
redefined
before this value is used.

Check failure on line 41 in src/sisl/_sparse_grid_ops.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error

Local variable 'unraveled' may be used before it is initialized.

Check failure on line 45 in src/sisl/_sparse_grid_ops.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error

Local variable 'new_grid_shape' may be used before it is initialized.

Check failure on line 46 in src/sisl/_sparse_grid_ops.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error

Local variable 'unraveled' may be used before it is initialized.

Check failure on line 46 in src/sisl/_sparse_grid_ops.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error

Local variable 'new_unraveled' may be used before it is initialized.

Check failure on line 49 in src/sisl/_sparse_grid_ops.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error

Local variable 'new_unraveled' may be used before it is initialized.

Check failure on line 50 in src/sisl/_sparse_grid_ops.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error

Local variable 'new_grid_shape' may be used before it is initialized.