bmad-sim / bmad-sim/NonlinearNormalForm.jl

`cutord` not working as advertised in the README.md file.

Open
#54 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Fortran
Stars
5
Forks
0
Avg merge
4m
Merged PRs (30d)
2

Description

Using the test `test/spin1/a.jl` which defines the `DAMap` `a_fpp`, `cutord` gives the error:
```
julia> include("test/spin1/a.jl");

julia> cutord(a_fpp, 2)
ERROR: MethodError: no method matching cutord(::DAMap{StaticArraysCore.MVector{…}, StaticArraysCore.MVector{…}, Quaternion{…}, Nothing}, ::Int64)
The function `cutord` exists, but no method is defined for this combination of argument types.

Closest candidates are:
cutord(::TPS, ::Integer)
@ GTPSA ~/.julia/packages/GTPSA/rjfML/src/methods.jl:359

Stacktrace:
[1] top-level scope
@ REPL[48]:1
Some type information was truncated. Use `show(err)` to see complete types.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.