Skip to content

Commit 012f3cf

Browse files
committed
#570: restored do() function signature
1 parent 80246d7 commit 012f3cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/src/org/aavso/tools/vstar/external/plugin/VeLaObservationTransformer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public boolean execute(UndoableActionType type) {
122122

123123
// ...and call the function with the current
124124
// observation's magnitude and error values.
125-
String funCall = String.format("do(%f %f)", magnitude.getMagValue(), magnitude.getUncertainty());
125+
String funCall = String.format("do()", magnitude.getMagValue(), magnitude.getUncertainty());
126126

127127
Optional<Operand> result = vela.program(funCall);
128128

@@ -205,7 +205,7 @@ public boolean canBeRemoved() {
205205
* button was clicked and the VeLa code string.
206206
*/
207207
private Pair<Boolean, String> invokeDialog(VeLaInterpreter vela) {
208-
VeLaDialog velaDialog = new VeLaDialog("Define VeLa function: do(mag:ℝ err:ℝ):list");
208+
VeLaDialog velaDialog = new VeLaDialog("Define VeLa function: do():list");
209209

210210
boolean ok = !velaDialog.isCancelled();
211211
String code = velaDialog.getCode();

0 commit comments

Comments
 (0)