Skip to content

Feature python interface #67

Feature python interface

Feature python interface #67

Triggered via pull request September 18, 2024 18:07
Status Failure
Total duration 5m 10s
Artifacts

cpp-linter.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
cpp-linter
Process completed with exit code 1.
nuTens/propagator/const-density-solver.hpp:83:10 [clang-diagnostic-inconsistent-missing-override]: nuTens/propagator/const-density-solver.hpp#L83
'calculateEigenvalues' overrides a member function but is not marked 'override'
nuTens/tensors/tensor.hpp:58:5 [cppcoreguidelines-pro-type-member-init]: nuTens/tensors/tensor.hpp#L58
constructor does not initialize these fields: _dType, _device
nuTens/tensors/tensor.hpp:58:5 [modernize-use-equals-default]: nuTens/tensors/tensor.hpp#L58
use '= default' to define a trivial default constructor
nuTens/tensors/torch-tensor.cpp:9:35 [performance-unnecessary-value-param]: nuTens/tensors/torch-tensor.cpp#L9
the parameter 'values' is copied for each invocation but only used as a const reference; consider making it a const reference
python/pyNuTens.cpp:22:1 [cppcoreguidelines-avoid-non-const-global-variables]: python/pyNuTens.cpp#L22
variable 'pybind11_module_def_pyNuTens' is non-const and globally accessible, consider making it const