Skip to content

feat(pt): support complete form energy loss

GitHub Advanced Security / CodeQL failed May 14, 2024 in 3s

10 new alerts including 10 errors

New alerts in code changed by this pull request

  • 10 errors

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 186 in source/tests/pt/test_loss.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

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

Check failure on line 186 in source/tests/pt/test_loss.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

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

Check failure on line 190 in source/tests/pt/test_loss.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

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

Check failure on line 190 in source/tests/pt/test_loss.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

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

Check failure on line 201 in source/tests/pt/test_loss.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

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

Check failure on line 208 in source/tests/pt/test_loss.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

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

Check failure on line 233 in source/tests/pt/test_loss.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

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

Check failure on line 234 in source/tests/pt/test_loss.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

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

Check failure on line 245 in source/tests/pt/test_loss.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

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

Check failure on line 247 in source/tests/pt/test_loss.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error test

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