Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

Segmentation fault in SphericalCovariants for covariant_lambda=0 #392

Description

@bananenpampe

Hello everyone,

calling the SphericalCovariants function with covariant_lambda=0 results in a segmentation fault.

#load some wrapped training structures

hypers = {"soap_type": "LambdaSpectrum",
          "interaction_cutoff": 3,
          "radial_basis": "GTO",
          "max_radial": 9,
          "max_angular": 9,
          "gaussian_sigma_constant": 0.3,
          "gaussian_sigma_type":"Constant",
          "cutoff_function_type":"ShiftedCosine",
          "cutoff_smooth_width": 0.5,
          "normalize": True,
          "cutoff_function_parameters":dict(rate=1,scale=3.5,exponent=4),
          "covariant_lambda":0
         }

calculator = SphericalCovariants(**hypers)
X_train = calculator.transform(train_structures).get_features(calculator)

The relevant gdb output is:

Thread 1 "python" received signal SIGSEGV, Segmentation fault.
0x00007fffcc99365b in void rascal::CalculatorSphericalCovariants::compute_impl<(rascal::internal::SphericalCovariantsType)0, 0, rascal::AdaptorStrict<rascal::AdaptorCenterContribution<rascal::AdaptorNeighbourList<rascal::StructureManagerCenters> > > >(std::shared_ptr<rascal::AdaptorStrict<rascal::AdaptorCenterContribution<rascal::AdaptorNeighbourList<rascal::StructureManagerCenters> > > >) ()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions