> Hi Oleg > > I'd like to get the 'observatory=' option working again for the AzEl > node. (I think you somehow obliterated it when you switched things to > TensorFunctions a year or so ago.) Anyway I've checked in a new version > and an updated MG_AGW_azel.py script in my contrib area which is supposed > to test things, but you're outsmarting me somehow, because when I do > a construct with observatory= the browser keeps complaining that I > don't have enough children even though I do a > > const int num_children = sizeof(child_labels)/sizeof(child_labels[0])-3; > > in AzEl.cc
What does your constructor look like? My current version reads
AzEl::AzEl() : TensorFunction(2,child_labels)
...meaning 2 children, both mandatory. If you change it to
AzEl::AzEl() : TensorFunction(2,child_labels,1)
it should assume that only the first child is mandatory.
Cheers, Oleg
