mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

Those operations done between a vector-of-interval and a vector-of-arithmetic-type previously threw a runtime expression error due to an incorrect coercion being used internally.
10 lines
200 B
Text
10 lines
200 B
Text
# @TEST-EXEC: zeek -b %INPUT >out
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
global v1 = vector(1.5, 3.0, 4.5);
|
|
global v2 = vector(3 sec, 1 min, 1 hr);
|
|
|
|
print v1 * v2;
|
|
print v2 * v1;
|
|
print v1 / v2;
|
|
print v2 / v1;
|